From bcfb8df1164a4dab4e1fa31388798cd7e5005ca1 Mon Sep 17 00:00:00 2001 From: Jakub Janczak Date: Fri, 6 Feb 2015 00:02:04 +0100 Subject: [PATCH] remote/s3: removing code that is serving versioning puproses which is not the case for s3 for the moment --- remote/s3.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/remote/s3.go b/remote/s3.go index 04b202094..a4c34e53a 100644 --- a/remote/s3.go +++ b/remote/s3.go @@ -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: