Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
philrenaud committed Nov 29, 2023
1 parent 0819aab commit 906ffc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ui/app/models/job-plan.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ export default class JobPlan extends Model {
@attr() diff;
@fragmentArray('placement-failure', { defaultValue: () => [] })
failedTGAllocs;
// TODO: add warnings here?
@hasMany('allocation') preemptions;
}
1 change: 1 addition & 0 deletions ui/app/templates/components/job-editor/review.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
>
<div class="boxed-section-head" data-test-dry-run-title>Scheduler dry-run</div>
<div class="boxed-section-body" data-test-dry-run-body>
{{!-- TODO: warnings here? --}}
{{#if @data.planOutput.failedTGAllocs}}
{{#each @data.planOutput.failedTGAllocs as |placementFailure|}}
<PlacementFailure @failedTGAlloc={{placementFailure}} />
Expand Down

0 comments on commit 906ffc8

Please sign in to comment.