Fix: tapper count check (#791)

This commit is contained in:
Igor Gov 2022-02-10 17:00:13 +02:00 committed by GitHub
parent 9e62eaf4de
commit 391af95fb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,7 +256,7 @@ func checkTapResourcesExist(ctx context.Context, kubernetesProvider *kubernetes.
}
}
if tappers != notRunningTappers {
if notRunningTappers > 0 {
logger.Log.Errorf("%v '%v' %v/%v pods are not running", fmt.Sprintf(uiUtils.Red, "✗"), kubernetes.TapperPodName, notRunningTappers, tappers)
return false
}