forked from TrueCloudLab/frostfs-s3-gw
[#569] Rename versioning consts
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
77f466b1d5
commit
56eb2dc3dc
9 changed files with 17 additions and 17 deletions
|
@ -33,7 +33,7 @@ func (h *handler) PutBucketVersioningHandler(w http.ResponseWriter, r *http.Requ
|
|||
return
|
||||
}
|
||||
|
||||
if configuration.Status != data.VerEnabled && configuration.Status != data.VerSuspended {
|
||||
if configuration.Status != data.VersioningEnabled && configuration.Status != data.VersioningSuspended {
|
||||
h.logAndSendError(w, "invalid versioning configuration", reqInfo, err)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue