Skip to content
Snippets Groups Projects
Commit 8954682f authored by opolch's avatar opolch
Browse files

Fix non existing waiting state attribute.

parent d672fae2
Branches
No related tags found
1 merge request!4Draft: Backup/overriden branch
......@@ -87,7 +87,7 @@ class KubernetesInteraction:
self.DictEntryState.ERROR.value)
elif pod_to_add.status.container_statuses[0].state.waiting is not None:
pod_state = self.DictEntry("waiting, {}".format(
pod_to_add.status.container_statuses[0].state.waiting.started_at),
pod_to_add.status.container_statuses[0].state.waiting.message),
self.DictEntryState.WARN.value)
elif pod_to_add.status.container_statuses[0].state.running is not None:
pod_state = self.DictEntry("running, {}".format(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment