Skip to content

Commit

Permalink
fix: remove call to deprecated print (#1392)
Browse files Browse the repository at this point in the history
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
  • Loading branch information
Terry Howe committed May 28, 2024
1 parent 4525398 commit 9ff316c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oras/root/manifest/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func pushManifest(cmd *cobra.Command, opts pushOptions) error {
}
return opts.Output(os.Stdout, descJSON)
}
status.Print("Pushed", opts.AnnotatedReference())
printer.Println("Pushed", opts.AnnotatedReference())
if len(opts.extraRefs) != 0 {
if _, err = oras.TagBytesN(ctx, status.NewTagStatusPrinter(target), mediaType, contentBytes, opts.extraRefs, tagBytesNOpts); err != nil {
return err
Expand Down

0 comments on commit 9ff316c

Please sign in to comment.