From 90c11ef7b2ffcfaf9e08cf364082b92addf63856 Mon Sep 17 00:00:00 2001 From: stonezdj Date: Wed, 7 Dec 2022 14:51:48 +0800 Subject: [PATCH] Update the log information in proxy cache fixes #17933 Signed-off-by: stonezdj --- src/server/middleware/repoproxy/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/middleware/repoproxy/proxy.go b/src/server/middleware/repoproxy/proxy.go index 8b94f2ba285f..fc14450fb19b 100644 --- a/src/server/middleware/repoproxy/proxy.go +++ b/src/server/middleware/repoproxy/proxy.go @@ -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 {