From f619db7336e0976844088bd955d7e98277d67662 Mon Sep 17 00:00:00 2001 From: Chad Faragher Date: Thu, 28 Oct 2021 14:50:04 -0400 Subject: [PATCH] Fixed typo in error message 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 --- registry/handlers/manifests.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/handlers/manifests.go b/registry/handlers/manifests.go index 5af59aaf..76cfe531 100644 --- a/registry/handlers/manifests.go +++ b/registry/handlers/manifests.go @@ -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 }