[#125] Fixed bucket creation

Bucket should has unique name.

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2021-07-07 17:56:29 +03:00
parent e7bebcc1aa
commit 0aae8c595a
2 changed files with 14 additions and 1 deletions

View file

@ -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",