discovery: fix linter warning

This commit is contained in:
Olaoluwa Osuntokun committed 2017-10-30 19:04:00 -07:00
1 parent 991a2fbb5f
commit 65cf83489a
1 file changed
+1 -1
+1 -1
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