From f74bd0b31232e160fab0d515a78c9cabaa7354b7 Mon Sep 17 00:00:00 2001 From: Terry Howe Date: Sun, 19 Feb 2023 10:42:17 -0700 Subject: [PATCH] Add warning print Signed-off-by: Terry Howe --- cmd/oras/repository/tags.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/oras/repository/tags.go b/cmd/oras/repository/tags.go index 209d13fd2..06fa3650a 100644 --- a/cmd/oras/repository/tags.go +++ b/cmd/oras/repository/tags.go @@ -17,6 +17,7 @@ package repository import ( "fmt" + "os" "strings" "github.com/opencontainers/go-digest" @@ -96,6 +97,7 @@ func showTags(opts showTagsOptions) error { } filter = desc.Digest.String() } + fmt.Fprintln(os.Stderr, "Tag query by reference may take a while") } return finder.Tags(ctx, opts.last, func(tags []string) error { for _, tag := range tags {