Fixing ineffssaign errors (#2608)

This commit is contained in:
Karthic Rao
2016-09-02 11:40:50 +05:30
committed by Harshavardhana
parent a1f922315b
commit 1ce339abeb
14 changed files with 32 additions and 17 deletions
+1 -3
View File
@@ -349,10 +349,8 @@ func (api objectAPIHandlers) CopyObjectHandler(w http.ResponseWriter, r *http.Re
// Size of object.
size := objInfo.Size
// Save metadata.
metadata := make(map[string]string)
// Save other metadata if available.
metadata = objInfo.UserDefined
metadata := objInfo.UserDefined
// Do not set `md5sum` as CopyObject will not keep the
// same md5sum as the source.