Skip to content

Commit

Permalink
Fixed typo in error message
Browse files Browse the repository at this point in the history
The wording of the error message had a typo (missing the word "not") that gave it the opposite meaning from the intended meaning.

Signed-off-by: Chad Faragher <wyckster@hotmail.com>
  • Loading branch information
wyckster committed Oct 28, 2021
1 parent 1563384 commit f619db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/handlers/manifests.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ func (imh *manifestHandler) PutManifest(w http.ResponseWriter, r *http.Request)

if imh.Digest != "" {
if desc.Digest != imh.Digest {
dcontext.GetLogger(imh).Errorf("payload digest does match: %q != %q", desc.Digest, imh.Digest)
dcontext.GetLogger(imh).Errorf("payload digest does not match: %q != %q", desc.Digest, imh.Digest)
imh.Errors = append(imh.Errors, v2.ErrorCodeDigestInvalid)
return
}
Expand Down

0 comments on commit f619db7

Please sign in to comment.