Skip to content

Commit

Permalink
code clean
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah committed Mar 28, 2024
1 parent 7d76486 commit e8e3e44
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/oras/internal/display/status/print.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,7 @@ func Print(a ...any) error {

// StatusPrinter returns a tracking function for transfer status.
func StatusPrinter(status string, verbose bool) PrintFunc {
return func(desc ocispec.Descriptor) error {
return printer.PrintStatus(desc, status, verbose)
}
return printer.StatusPrinter(status, verbose)
}

// PrintStatus prints transfer status.
Expand Down

0 comments on commit e8e3e44

Please sign in to comment.