From 0ab91ebc348f95f8a73f7390088ec22856d40577 Mon Sep 17 00:00:00 2001 From: gabriel-m Date: Mon, 7 Oct 2019 21:00:42 +0200 Subject: [PATCH] fixed accidental change from local fork --- pkg/drivers/http/driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/drivers/http/driver.go b/pkg/drivers/http/driver.go index 24cbc2ae..89cdaa0f 100644 --- a/pkg/drivers/http/driver.go +++ b/pkg/drivers/http/driver.go @@ -152,7 +152,7 @@ func (drv *Driver) Open(ctx context.Context, params drivers.Params) (drivers.HTM defer resp.Body.Close() - if resp.StatusCode != http.StatusOK && resp.StatusCode != http.StatusInternalServerError { + if resp.StatusCode != http.StatusOK { return nil, errors.New(resp.Status) }