forked from TrueCloudLab/frostfs-s3-gw
[#125] Fixed bucket creation
Bucket should has unique name. Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
e7bebcc1aa
commit
0aae8c595a
2 changed files with 14 additions and 1 deletions
|
@ -124,6 +124,7 @@ func (h *handler) CreateBucketHandler(w http.ResponseWriter, r *http.Request) {
|
|||
Description: err.Error(),
|
||||
HTTPStatusCode: http.StatusInternalServerError,
|
||||
}, r.URL)
|
||||
return
|
||||
}
|
||||
|
||||
h.log.Info("bucket is created",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue