From 221d091b684b9a50ce6c55d959808da2d9c91d55 Mon Sep 17 00:00:00 2001 From: nathan wagner Date: Thu, 7 Sep 2023 13:08:41 +0000 Subject: [PATCH] removing debugging --- driver/driver.go | 6 ------ 1 file changed, 6 deletions(-) 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 } }