forked from TrueCloudLab/distribution
Merge pull request #3515 from wyckster/patch-1
Fixed typo in error message
This commit is contained in:
commit
6248a88d03
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue