diff --git a/cmd/oras/internal/display/print.go b/cmd/oras/internal/display/print.go index e4c3db3bb..e4a2b89d3 100644 --- a/cmd/oras/internal/display/print.go +++ b/cmd/oras/internal/display/print.go @@ -37,14 +37,7 @@ func Print(a ...any) error { // StatusPrinter returns a tracking function for transfer status. func StatusPrinter(status string, verbose bool) func(context.Context, ocispec.Descriptor) error { return func(ctx context.Context, desc ocispec.Descriptor) error { - name, ok := desc.Annotations[ocispec.AnnotationTitle] - if !ok { - if !verbose { - return nil - } - name = desc.MediaType - } - return Print(status, ShortDigest(desc), name) + return PrintStatus(desc, status, verbose) } }