mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Kubernetes benchmarks profiling: Distinguish error messages.
PiperOrigin-RevId: 700813812
This commit is contained in:
committed by
gVisor bot
parent
e27d27a826
commit
28c50dd77f
@@ -357,10 +357,10 @@ func MaybeSetup(ctx context.Context, t *testing.T, k8sCtx k8sctx.KubernetesConte
|
||||
defer setupCancel()
|
||||
ds, err := startOperations(setupCtx, k8sCtx, c, ns, setupCommands)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
return nil, fmt.Errorf("failed to start profiling setup operations: %w", err)
|
||||
}
|
||||
if err := c.WaitForDaemonset(setupCtx, ds); err != nil {
|
||||
return nil, err
|
||||
return nil, fmt.Errorf("failed to wait for daemonset: %w", err)
|
||||
}
|
||||
}
|
||||
return cleanup, nil
|
||||
|
||||
Reference in New Issue
Block a user