Even better

parent c9688155
......@@ -1243,7 +1243,7 @@ def all_kube_system_pods_running():
status = pod['status']['phase']
# Evicted nodes should re-spawn
if status != 'Running' and \
pod['status'].get('reason', '') != 'Evicted':
pod['status'].get('reason', '') != 'Evicted':
return False
return True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment