From 65cf83489a95adaae5d1c33d1036ec5b46d759a4 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 30 Oct 2017 19:03:55 -0700 Subject: [PATCH] discovery: fix linter warning --- discovery/bootstrapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery/bootstrapper.go b/discovery/bootstrapper.go index ae624ec7..7a6d6109 100644 --- a/discovery/bootstrapper.go +++ b/discovery/bootstrapper.go @@ -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