1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-11-06 08:39:09 +02:00

fixed accidental change from local fork

This commit is contained in:
gabriel-m
2019-10-07 21:00:42 +02:00
committed by GitHub
parent 9081091c5d
commit 0ab91ebc34

View File

@@ -152,7 +152,7 @@ func (drv *Driver) Open(ctx context.Context, params drivers.Params) (drivers.HTM
defer resp.Body.Close() defer resp.Body.Close()
if resp.StatusCode != http.StatusOK && resp.StatusCode != http.StatusInternalServerError { if resp.StatusCode != http.StatusOK {
return nil, errors.New(resp.Status) return nil, errors.New(resp.Status)
} }