Even better

pull/6/head
Konstantinos Tsakalozos 2017-12-20 17:25:54 +02:00
parent c9688155f6
commit bd8eaa7f18
1 changed files with 1 additions and 1 deletions

View File

@ -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