From 9e87f6a409e631db7e7dbbedb991ddfb96e28f16 Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Thu, 22 Oct 2020 09:37:20 -0700 Subject: [PATCH] Limit the topo viz to only pending and running allocs Failed allocs immediately vacate their allocated resources which results in inaccurate distributions of allocations on a client. --- ui/app/models/allocation.js | 2 +- ui/app/templates/topology.hbs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/app/models/allocation.js b/ui/app/models/allocation.js index 3aa09fa1c..adb1238b0 100644 --- a/ui/app/models/allocation.js +++ b/ui/app/models/allocation.js @@ -49,7 +49,7 @@ export default class Allocation extends Model { @computed('clientStatus') get isScheduled() { - return ['pending', 'running', 'failed'].includes(this.clientStatus); + return ['pending', 'running'].includes(this.clientStatus); } // An allocation model created from any allocation list response will be lacking diff --git a/ui/app/templates/topology.hbs b/ui/app/templates/topology.hbs index 19c1fd515..0963657ee 100644 --- a/ui/app/templates/topology.hbs +++ b/ui/app/templates/topology.hbs @@ -17,7 +17,6 @@

Allocation Status

Running
-
Failed
Starting