mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 22:46:16 +03:00
multipart: Code cleanup
- More locking cleanup. Fix naming convention. - Simplify concatenation and blocking calls.
This commit is contained in:
+2
-2
@@ -353,8 +353,8 @@ func (api CloudStorageAPI) PostPolicyBucketHandler(w http.ResponseWriter, req *h
|
||||
}
|
||||
return
|
||||
}
|
||||
if metadata.Md5 != "" {
|
||||
w.Header().Set("ETag", "\""+metadata.Md5+"\"")
|
||||
if metadata.MD5 != "" {
|
||||
w.Header().Set("ETag", "\""+metadata.MD5+"\"")
|
||||
}
|
||||
writeSuccessResponse(w, nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user