From eab1a0ba1d97eafaf5fc65a27f8bdd6ec166247a Mon Sep 17 00:00:00 2001 From: Pramod Bindal Date: Mon, 23 Sep 2024 18:25:28 +0530 Subject: [PATCH] SRVKP-6442 - Fix Lint --- internal/provider/oci/upload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/oci/upload.go b/internal/provider/oci/upload.go index d116e3aeb..8fd95156c 100644 --- a/internal/provider/oci/upload.go +++ b/internal/provider/oci/upload.go @@ -19,8 +19,8 @@ func Upload(_ context.Context, hash, target, folder string, insecure bool) error credStore := os.Getenv("CRED_STORE") if credStore != "" { os.Setenv("DOCKER_CONFIG", os.Getenv("CRED_STORE")) + fmt.Fprintf(os.Stdout, "DOCKER_CONFIG is set to %s \n", os.Getenv("DOCKER_CONFIG")) } - fmt.Println("DOCKER_CONFIG : ", os.Getenv("DOCKER_CONFIG")) cacheImageRef := strings.ReplaceAll(target, "{{hash}}", hash) fmt.Fprintf(os.Stderr, "Upload %s content to oci image %s\n", folder, cacheImageRef)