From 5c3721a91b6329b996a3cb67c3db4e0cac3b7b4e Mon Sep 17 00:00:00 2001 From: Xiaoxuan Wang Date: Mon, 16 Dec 2024 15:38:43 +0800 Subject: [PATCH] fix failed test Signed-off-by: Xiaoxuan Wang --- cmd/oras/root/manifest/push.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/oras/root/manifest/push.go b/cmd/oras/root/manifest/push.go index 84c357e1b..57f07b18b 100644 --- a/cmd/oras/root/manifest/push.go +++ b/cmd/oras/root/manifest/push.go @@ -101,7 +101,7 @@ Example - Push a manifest to an OCI image layout folder 'layout-dir' and tag wit return option.Parse(cmd, &opts) }, RunE: func(cmd *cobra.Command, args []string) error { - opts.Printer.Verbose = opts.verbose && !opts.OutputDescriptor + opts.Printer.Verbose = opts.verbose return pushManifest(cmd, opts) }, }