mirror of
https://github.com/openziti/zrok.git
synced 2024-11-07 16:54:23 +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 {
|
||||
logrus.Infof("host = '%v'", host)
|
||||
logrus.Debugf("host = '%v'", host)
|
||||
tokens := strings.Split(host, ".")
|
||||
if len(tokens) > 0 {
|
||||
return tokens[0]
|
||||
|
Loading…
Reference in New Issue
Block a user