good morning!!!!

Skip to content
Snippets Groups Projects
Commit 6f74fb96 authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub
Browse files

Merge pull request #3683 from karalabe/swarm-go1.8-vet-fix

swarm/api/http: fix go vet issue on Go 1.8
parents bdef758d e94dfb78
No related branches found
No related tags found
No related merge requests found
......@@ -113,6 +113,9 @@ func TestBzzrGetPath(t *testing.T) {
url += common.ToHex(key[0])[2:] + "/" + k[1:] + "?content_type=text/plain"
}
resp, err = http.Get(url)
if err != nil {
t.Fatalf("Request failed: %v", err)
}
defer resp.Body.Close()
respbody, err = ioutil.ReadAll(resp.Body)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment