Skip to content

Commit

Permalink
chore: add experimental mark to filtered tag listing (oras-project#994)
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
  • Loading branch information
qweeah authored and shizhMSFT committed Aug 3, 2023
1 parent 59f2682 commit a2a53b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/oras/root/repo/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit a2a53b2

Please sign in to comment.