mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix escaped go vet error
Find one escaped go vet error: ``` $ cd pkg/httputils/ $ go vet . httputils_test.go:28: arg response for printf verb %q of wrong type: *net/http.Response ``` You can also find it with ``` $ go vet github.com/docker/docker/pkg/httputils/ ``` or ``` $ go vet ./... ``` Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
This commit is contained in:
parent
e74623d283
commit
3551893f46
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ func TestDownload(t *testing.T) {
|
||||||
response.Body.Close()
|
response.Body.Close()
|
||||||
|
|
||||||
if err != nil || string(actual) != expected {
|
if err != nil || string(actual) != expected {
|
||||||
t.Fatalf("Expected the response %q, got err:%q, response:%q, actual:%q", expected, err, response, string(actual))
|
t.Fatalf("Expected the response %q, got err:%q, actual:%q", expected, err, string(actual))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue