Skip to content

Commit 9ff316c

Browse files
author
Terry Howe
authored
fix: remove call to deprecated print (#1392)
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
1 parent 4525398 commit 9ff316c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/oras/root/manifest/push.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ func pushManifest(cmd *cobra.Command, opts pushOptions) error {
188188
}
189189
return opts.Output(os.Stdout, descJSON)
190190
}
191-
status.Print("Pushed", opts.AnnotatedReference())
191+
printer.Println("Pushed", opts.AnnotatedReference())
192192
if len(opts.extraRefs) != 0 {
193193
if _, err = oras.TagBytesN(ctx, status.NewTagStatusPrinter(target), mediaType, contentBytes, opts.extraRefs, tagBytesNOpts); err != nil {
194194
return err

0 commit comments

Comments
 (0)