mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 09:25:46 +03:00
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:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user