forked from TrueCloudLab/frostfs-s3-gw
[#357] Remove checks of bucket settings is not nil
Via #389 Also fixed test Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
02bcbe9754
commit
e319f2422e
3 changed files with 4 additions and 11 deletions
|
@ -457,7 +457,7 @@ func (h *handler) CompleteMultipartUploadHandler(w http.ResponseWriter, r *http.
|
|||
Key: objInfo.Name,
|
||||
}
|
||||
|
||||
if bktSettings != nil && bktSettings.VersioningEnabled {
|
||||
if bktSettings.VersioningEnabled {
|
||||
w.Header().Set(api.AmzVersionID, objInfo.Version())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue