mirror of
https://github.com/openziti/zrok.git
synced 2025-02-08 14:29:52 +01:00
logging lint
This commit is contained in:
parent
6b4fcadc6b
commit
ae496beb92
@ -32,7 +32,7 @@ type resolver struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *resolver) Service(host string) string {
|
func (r *resolver) Service(host string) string {
|
||||||
logrus.Infof("host = '%v'", host)
|
logrus.Debugf("host = '%v'", host)
|
||||||
tokens := strings.Split(host, ".")
|
tokens := strings.Split(host, ".")
|
||||||
if len(tokens) > 0 {
|
if len(tokens) > 0 {
|
||||||
return tokens[0]
|
return tokens[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user