From cb0d521b0a290145b328fa55108e7d1ab672c939 Mon Sep 17 00:00:00 2001 From: xiong wang Date: Tue, 14 Dec 2021 14:19:57 +0800 Subject: [PATCH] exit anyway when kill sidecar error Signed-off-by: xiong wang --- cmd/argoexec/commands/wait.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/argoexec/commands/wait.go b/cmd/argoexec/commands/wait.go index 045580e060d42..40bb9893c8f22 100644 --- a/cmd/argoexec/commands/wait.go +++ b/cmd/argoexec/commands/wait.go @@ -32,7 +32,7 @@ func waitContainer(ctx context.Context) error { defer func() { if err := wfExecutor.KillSidecars(ctx); err != nil { - wfExecutor.AddError(err) + log.Warnf("fail to kill sidecars, err:%v, exit anyway", err) } }()