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
1 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,9 @@ export default Component.extend({
function qualifyAllocation() {
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(() => {
this.fetchStats.perform();