From 7d42570c205c63bd7e63065fbba676950cc31d67 Mon Sep 17 00:00:00 2001 From: wujunwei Date: Fri, 17 Dec 2021 11:10:26 +0800 Subject: [PATCH] remove duplicate goroutine in handleContext Signed-off-by: wujw39640 --- pkg/action/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/action/install.go b/pkg/action/install.go index e91154515..2f08427fa 100644 --- a/pkg/action/install.go +++ b/pkg/action/install.go @@ -345,7 +345,7 @@ func (i *Install) RunWithContext(ctx context.Context, chrt *chart.Chart, vals ma } rChan := make(chan resultMessage) go i.performInstall(rChan, rel, toBeAdopted, resources) - go i.handleContext(ctx, rChan, rel) + i.handleContext(ctx, rChan, rel) result := <-rChan //start preformInstall go routine return result.r, result.e