remove duplicate goroutine in handleContext

Signed-off-by: wujunwei <wjw3323@live.com>
pull/10477/head
wujunwei 4 years ago
parent 8ca401398d
commit 7ade6b0ce6

@ -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

Loading…
Cancel
Save