Skip to content

Commit

Permalink
handler: return 200 from PutBucketVersioning (#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-khimov authored Jun 15, 2023
2 parents 6f0ea5d + b25539f commit 131b104
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/handler/versioning.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ func (h *handler) PutBucketVersioningHandler(w http.ResponseWriter, r *http.Requ

if err = h.obj.PutBucketSettings(r.Context(), p); err != nil {
h.logAndSendError(w, "couldn't put update versioning settings", reqInfo, err)
return
}
api.WriteSuccessResponseHeadersOnly(w)
}

// GetBucketVersioningHandler implements bucket versioning getter handler.
Expand Down

0 comments on commit 131b104

Please sign in to comment.