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.
This commit is contained in:
Michael Lange
2020-10-22 09:37:20 -07:00
parent 58562234c5
commit 9e87f6a409
2 changed files with 1 additions and 2 deletions

View File

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

View File

@@ -17,7 +17,6 @@
<h3 class="legend-label">Allocation Status</h3>
<dl class="legend-terms">
<div class="legend-term"><dt><span class="color-swatch is-wide running" title="Running" /></dt><dd>Running</dd></div>
<div class="legend-term"><dt><span class="color-swatch is-wide failed" title="Failed" /></dt><dd>Failed</dd></div>
<div class="legend-term"><dt><span class="color-swatch is-wide pending" title="Starting" /></dt><dd>Starting</dd></div>
</dl>
</div>