Skip to content

Commit

Permalink
Use containerd's console.File instead of os.File
Browse files Browse the repository at this point in the history
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
  • Loading branch information
ulyssessouza committed Dec 3, 2019
1 parent 8bce430 commit 5941345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/progress/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (p *printer) Status() chan *client.SolveStatus {
return p.status
}

func NewPrinter(ctx context.Context, out *os.File, mode string) Writer {
func NewPrinter(ctx context.Context, out console.File, mode string) Writer {
statusCh := make(chan *client.SolveStatus)
doneCh := make(chan struct{})

Expand Down

0 comments on commit 5941345

Please sign in to comment.