diff --git a/driver/driver.go b/driver/driver.go index 50f1aa9e..1310333c 100644 --- a/driver/driver.go +++ b/driver/driver.go @@ -2,7 +2,6 @@ package driver import ( "context" - "fmt" "io" "github.com/docker/buildx/store" @@ -66,15 +65,12 @@ type Driver interface { } func Boot(ctx, clientContext context.Context, d *DriverHandle, pw progress.Writer) (*client.Client, error) { - fmt.Println("I don't like being confused") try := 0 for { - fmt.Println("in the for...block?") info, err := d.Info(ctx) if err != nil { return nil, err } - fmt.Println("I think d.Info might be doing an out of band thing") try++ if info.Status != Running { if try > 2 { @@ -84,7 +80,6 @@ func Boot(ctx, clientContext context.Context, d *DriverHandle, pw progress.Write return nil, err } } - fmt.Println("before or after running") c, err := d.Client(clientContext) if err != nil { if errors.Cause(err) == ErrNotRunning && try <= 2 { @@ -92,7 +87,6 @@ func Boot(ctx, clientContext context.Context, d *DriverHandle, pw progress.Write } return nil, err } - fmt.Println("before final return") return c, nil } }