do not mark completed jobs as "failed"

This commit is contained in:
Henning Jacobs
2016-12-14 14:49:31 +01:00
parent 751c38d48f
commit 40dee6c001
2 changed files with 6 additions and 2 deletions

View File

@@ -181,7 +181,10 @@ class Pod extends PIXI.Graphics {
ready = false
}
}
if (this.pod.status.phase == 'Running' && ready) {
if (this.pod.status.phase == 'Succeeded') {
// completed Job
podBox.lineStyle(2, 0xaaaaff, 1);
} else if (this.pod.status.phase == 'Running' && ready) {
podBox.lineStyle(2, 0xaaffaa, 1);
} else if (this.pod.status.phase == 'Pending') {
podBox.lineStyle(2, 0xffffaa, 1);