fix(qemu): improve logging, make connection check less spammy #4210
Annotations
2 errors
Run chainguard-dev/actions/goimports@main:
pkg/container/qemu_runner.go#L1
Please run goimports.
diff --git a/pkg/container/qemu_runner.go b/pkg/container/qemu_runner.go
index 16aa209..553fd86 100644
--- a/pkg/container/qemu_runner.go
+++ b/pkg/container/qemu_runner.go
@@ -450,9 +450,9 @@ func createMicroVM(ctx context.Context, cfg *Config) error {
try := 0
for try <= retries {
if err := ctx.Err(); err != nil {
- return fmt.Errorf("checking SSH server: %w", err)
+ return fmt.Errorf("checking SSH server: %w", err)
}
-
+
try++
time.Sleep(time.Millisecond * 500)
|
Run chainguard-dev/actions/goimports@main
Process completed with exit code 1.
|
Loading