remote/s3: removing code that is serving versioning puproses which is not the case for s3 for the moment

This commit is contained in:
Jakub Janczak 2015-02-06 00:02:04 +01:00
parent 48a92cfb1f
commit bcfb8df116
1 changed files with 0 additions and 4 deletions

View File

@ -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: