Skip to content

Commit

Permalink
Merge pull request #7482 from gyuho/lll
Browse files Browse the repository at this point in the history
discovery: fix print format
  • Loading branch information
gyuho authored Mar 11, 2017
2 parents d0d3c76 + 60bdc47 commit fbcc6db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discovery/srv.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func SRVGetCluster(name, dns string, defaultToken string, apurls types.URLs) (st
shortHost := strings.TrimSuffix(srv.Target, ".")
urlHost := net.JoinHostPort(shortHost, port)
stringParts = append(stringParts, fmt.Sprintf("%s=%s://%s", n, scheme, urlHost))
plog.Noticef("got bootstrap from DNS for %s at %s%s", service, scheme, urlHost)
plog.Noticef("got bootstrap from DNS for %s at %s://%s", service, scheme, urlHost)
if ok && url.Scheme != scheme {
plog.Errorf("bootstrap at %s from DNS for %s has scheme mismatch with expected peer %s", scheme+"://"+urlHost, service, url.String())
}
Expand Down

0 comments on commit fbcc6db

Please sign in to comment.