From de3cc9a0229ecc8ef5f7ec2217f0d21d392874d8 Mon Sep 17 00:00:00 2001 From: Billy Zha Date: Thu, 29 Jun 2023 13:42:20 +0800 Subject: [PATCH] chore: add experimental mark to filtered tag listing (#994) Signed-off-by: Billy Zha --- cmd/oras/root/repo/tags.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/oras/root/repo/tags.go b/cmd/oras/root/repo/tags.go index 21435eadf..490a0fc94 100644 --- a/cmd/oras/root/repo/tags.go +++ b/cmd/oras/root/repo/tags.go @@ -55,10 +55,10 @@ Example - Show tags of the target OCI layout folder 'layout-dir': Example - Show tags of the target OCI layout archive 'layout.tar': oras repo tags --oci-layout layout.tar -Example - Show tags associated with a particular tagged resource: +Example - [Experimental] Show tags associated with a particular tagged resource: oras repo tags localhost:5000/hello:latest -Example - Show tags associated with a digest: +Example - [Experimental] Show tags associated with a digest: oras repo tags localhost:5000/hello@sha256:c551125a624189cece9135981621f3f3144564ddabe14b523507bf74c2281d9b `, Args: cobra.ExactArgs(1), @@ -95,7 +95,7 @@ func showTags(ctx context.Context, opts showTagsOptions) error { } filter = desc.Digest.String() } - logger.Infof("[Experimental] querying tags associated to %s, it may take a while...\n", filter) + logger.Warnf("[Experimental] querying tags associated to %s, it may take a while...\n", filter) } return finder.Tags(ctx, opts.last, func(tags []string) error { for _, tag := range tags {