forked from lug/matterbridge
Update dependencies (#1822)
This commit is contained in:
2
vendor/github.com/minio/minio-go/v7/api-restore.go
generated
vendored
2
vendor/github.com/minio/minio-go/v7/api-restore.go
generated
vendored
@@ -175,7 +175,7 @@ func (c *Client) RestoreObject(ctx context.Context, bucketName, objectName, vers
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if resp.StatusCode != http.StatusAccepted {
|
||||
if resp.StatusCode != http.StatusAccepted && resp.StatusCode != http.StatusOK {
|
||||
return httpRespToErrorResponse(resp, bucketName, "")
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user