1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-14 11:23:02 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}