Skip to content

Commit

Permalink
fix: fix typo (#588)
Browse files Browse the repository at this point in the history
Signed-off-by: Zhizhen He <[email protected]>
  • Loading branch information
hezhizhen authored May 30, 2022
1 parent f6f4cd7 commit a8efa0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/chartmuseum/server/multitenant/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ func (server *MultiTenantServer) validateChartOrProv(repo, filename string, forc
f = repo + "/" + filename
}
// conflict does not mean the file is invalid.
// for example, when overwite is allowed, it's valid
// for example, when overwrite is allowed, it's valid
// so that the client can decide what to do and here we just return conflict with no error
if _, err := server.StorageBackend.GetObject(f); err == nil {
return http.StatusConflict, nil
Expand Down

0 comments on commit a8efa0b

Please sign in to comment.