Skip to content

Commit

Permalink
Update the log information in proxy cache
Browse files Browse the repository at this point in the history
  fixes #17933

Signed-off-by: stonezdj <[email protected]>
  • Loading branch information
stonezdj committed Dec 7, 2022
1 parent 80999f2 commit 90c11ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/middleware/repoproxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func handleManifest(w http.ResponseWriter, r *http.Request, next http.Handler) e
return nil
}

log.Warningf("Artifact: %v:%v, digest:%v is not found in proxy cache, fetch it from remote repo", art.Repository, art.Tag, art.Digest)
log.Warningf("Method:%v, artifact: %v:%v, digest:%v, fetch it from remote repo", r.Method, art.Repository, art.Tag, art.Digest)

log.Debugf("the tag is %v, digest is %v", art.Tag, art.Digest)
if r.Method == http.MethodHead {
Expand Down

0 comments on commit 90c11ef

Please sign in to comment.