From 2c82dc90609eaa0df98aa4253c103237ab03e0db Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Fri, 1 May 2020 14:27:53 -0700 Subject: [PATCH] Comment why the allocation has to be reloaded --- ui/app/components/allocation-row.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/app/components/allocation-row.js b/ui/app/components/allocation-row.js index ef310d7ed..b102f79d9 100644 --- a/ui/app/components/allocation-row.js +++ b/ui/app/components/allocation-row.js @@ -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();