mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 17:27:49 +08:00
Replace usage of *os.File by console.File interface on printer
Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
This commit is contained in:
parent
9f4f945d4f
commit
3d630c6f7f
@ -30,7 +30,7 @@ func (p *printer) Status() chan *client.SolveStatus {
|
|||||||
return p.status
|
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)
|
statusCh := make(chan *client.SolveStatus)
|
||||||
doneCh := make(chan struct{})
|
doneCh := make(chan struct{})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user