fix raising fatal error on retryablehttp

pull/4639/head
Ben Ebsworth 2019-07-06 18:42:40 +10:00
parent 8b2d1ec2e6
commit 39a136fdb9
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ func testRegistry(t *testing.T) {
resp, err := retryablehttp.Get(u.String())
if err != nil {
t.Fatalf("failed get: %v", err)
t.Errorf("failed get: %v", err)
}
if resp.StatusCode != http.StatusOK {