Skip to content

Commit

Permalink
use any instead of interface{}
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 5278ec9 commit 92cd689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oras/internal/display/status/print.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func NewPrinter(out io.Writer) *Printer {
}

// Println prints objects concurrent-safely with newline.
func (p *Printer) Println(a ...interface{}) error {
func (p *Printer) Println(a ...any) error {
p.lock.Lock()
defer p.lock.Unlock()
_, err := fmt.Fprintln(p.out, a...)
Expand Down

0 comments on commit 92cd689

Please sign in to comment.