remote/s3: removing code that is serving versioning puproses which is not the case for s3 for the moment
This commit is contained in:
parent
48a92cfb1f
commit
bcfb8df116
|
@ -146,10 +146,6 @@ func (c *S3RemoteClient) PutState(state []byte, force bool) error {
|
|||
switch s3Err.StatusCode {
|
||||
case http.StatusOK:
|
||||
return nil
|
||||
case http.StatusConflict:
|
||||
return ErrConflict
|
||||
case http.StatusPreconditionFailed:
|
||||
return ErrServerNewer
|
||||
case http.StatusUnauthorized:
|
||||
return ErrRequireAuth
|
||||
case http.StatusForbidden:
|
||||
|
|
Loading…
Reference in New Issue