From 5d958812dbddff7971d582dec678430bc197874e Mon Sep 17 00:00:00 2001 From: Billy Zha Date: Fri, 3 Nov 2023 06:40:54 +0000 Subject: [PATCH] fix: should not print copy hint for manifest in verbose mode (#1165) Signed-off-by: Billy Zha --- cmd/oras/root/pull.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/oras/root/pull.go b/cmd/oras/root/pull.go index 24aa973d0..27afa98b9 100644 --- a/cmd/oras/root/pull.go +++ b/cmd/oras/root/pull.go @@ -268,7 +268,6 @@ func doPull(ctx context.Context, src oras.ReadOnlyTarget, dst oras.GraphTarget, return nil } name = desc.MediaType - skippedLayers++ } printed.Store(generateContentKey(desc), true) return display.Print("Downloaded ", display.ShortDigest(desc), name)