Skip to content

Commit

Permalink
changed or to and
Browse files Browse the repository at this point in the history
  • Loading branch information
stijndehaes committed May 5, 2020
1 parent a3343de commit dad7ea2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private[k8s] class LoggingPodStatusWatcherImpl(conf: KubernetesDriverConf)
logInfo(s"Waiting for application ${conf.appName} with submission ID $sId to finish...")
val interval = conf.get(REPORT_INTERVAL)
synchronized {
while (!podCompleted || !resourceToOldReceived) {
while (!podCompleted && !resourceToOldReceived) {
wait(interval)
logInfo(s"Application status for $appId (phase: $phase)")
}
Expand Down

0 comments on commit dad7ea2

Please sign in to comment.