Skip to content

Commit

Permalink
fix: use correct kubeclient on lbsvc strategy while watching for job
Browse files Browse the repository at this point in the history
Signed-off-by: Utku Ozdemir <uoz@protonmail.com>
  • Loading branch information
utkuozdemir committed Dec 7, 2021
1 parent 5dcd277 commit a12ea06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/strategy/lbsvc.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (r *LbSvc) Run(e *task.Execution) (bool, error) {
}

showProgressBar := !e.Task.Migration.Options.NoProgressBar
kubeClient := s.ClusterClient.KubeClient
kubeClient := d.ClusterClient.KubeClient
jobName := destReleaseName + "-rsync"
err = k8s.WaitForJobCompletion(e.Logger, kubeClient, destNs, jobName, showProgressBar)
return true, err
Expand Down

0 comments on commit a12ea06

Please sign in to comment.