discovery: fix linter warning
This commit is contained in:
parent
991a2fbb5f
commit
65cf83489a
@ -312,7 +312,7 @@ func fallBackSRVLookup(soaShim string) ([]*net.SRV, error) {
|
|||||||
// If the message response code was not the success code, fail.
|
// If the message response code was not the success code, fail.
|
||||||
if resp.Rcode != dns.RcodeSuccess {
|
if resp.Rcode != dns.RcodeSuccess {
|
||||||
return nil, fmt.Errorf("Unsuccessful SRV request, "+
|
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
|
// Retrieve the RR(s) of the Answer section, and covert to the format
|
||||||
|
Loading…
Reference in New Issue
Block a user