Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
idanovo committed Nov 26, 2024
1 parent 244e86c commit c91d8d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/api/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1987,8 +1987,8 @@ func (c *Controller) CreateRepository(w http.ResponseWriter, r *http.Request, bo
writeResponse(w, r, http.StatusCreated, response)
return
}
// Since this is a read-only repository, there is no harm in case the storage namespace we are using is already
// used by another repository or if we don't have write permissions for this namespace.
// Since this is a read-only repository, there is no harm in case the storage namespace we use is already used by
// another repository or if we don't have write permissions for this namespace.
if !swag.BoolValue(body.ReadOnly) {
if err := c.ensureStorageNamespace(ctx, body.StorageNamespace); err != nil {
var (
Expand Down

0 comments on commit c91d8d9

Please sign in to comment.