Comment why the allocation has to be reloaded

This commit is contained in:
Michael Lange 2020-05-01 14:27:53 -07:00
parent dee7f3ea11
commit 9a857a7042

View file

@ -73,6 +73,9 @@ export default Component.extend({
function qualifyAllocation() { function qualifyAllocation() {
const allocation = this.allocation; const allocation = this.allocation;
// Make sure the allocation is a complete record and not a partial so we
// can show information such as preemptions and rescheduled allocation.
return allocation.reload().then(() => { return allocation.reload().then(() => {
this.fetchStats.perform(); this.fetchStats.perform();