mirror of
https://github.com/openziti/zrok.git
synced 2025-08-17 11:21:07 +02:00
logging lint
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user