mirror of
https://github.com/edgelesssys/constellation.git
synced 2026-01-16 06:58:54 -05:00
bootstrapper: actually use waitCtx (linter)
This commit is contained in:
parent
900071d148
commit
efeb4c9404
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ func (k *KubeWrapper) InitCluster(
|
|||
timeToStartWaiting := time.Now()
|
||||
waitCtx, cancel = context.WithTimeout(ctx, 20*time.Minute)
|
||||
defer cancel()
|
||||
if err := k.clusterUtil.WaitForCilium(ctx, log); err != nil {
|
||||
if err := k.clusterUtil.WaitForCilium(waitCtx, log); err != nil {
|
||||
return nil, fmt.Errorf("waiting for Cilium to become healthy: %w", err)
|
||||
}
|
||||
timeUntilFinishedWaiting := time.Since(timeToStartWaiting)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue