discovery: fix linter warning

This commit is contained in:
Olaoluwa Osuntokun 2017-10-30 19:03:55 -07:00
parent 991a2fbb5f
commit 65cf83489a
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

View File

@ -312,7 +312,7 @@ func fallBackSRVLookup(soaShim string) ([]*net.SRV, error) {
// If the message response code was not the success code, fail.
if resp.Rcode != dns.RcodeSuccess {
return nil, fmt.Errorf("Unsuccessful SRV request, "+
"received: %s", resp.Rcode)
"received: %v", resp.Rcode)
}
// Retrieve the RR(s) of the Answer section, and covert to the format