Re-run gofmt -s after modifications

This commit is contained in:
Edznux 2018-10-23 06:35:22 +02:00
commit d80fef3ef9
11 changed files with 30 additions and 30 deletions

View file

@ -162,10 +162,10 @@ func (t *Endpoint) OnMeta(meta map[string]string) {
for k, v := range meta {
// simple heuristics to get the longest candidate name
if len(v) > len(host) {
if strings.HasSuffix(k, ":hostname"){
if strings.HasSuffix(k, ":hostname") {
host = v
}
if k == "mdns:md"{
if k == "mdns:md" {
host = v
}
}