diff --git a/pkg/sandbox/sandbox.go b/pkg/sandbox/sandbox.go index 14e2a83..eaacaa8 100644 --- a/pkg/sandbox/sandbox.go +++ b/pkg/sandbox/sandbox.go @@ -246,6 +246,8 @@ func Start(ctx context.Context, rt container.Runtime, ag agent.Agent, opts Optio // rollback removes partially created containers on startup failure. rollback := func() { + //nolint:govet // redeclare to avoid override of the outer scope + var err error names := []string{agentName} if proxyName != "" { names = append(names, proxyName)