refact: remove unused API (#15244)

This commit is contained in:
Jai
2022-11-15 14:13:14 -05:00
committed by GitHub
parent a3f3018227
commit 22f9c554e0

View File

@@ -12,7 +12,6 @@ export default class TopologyRoute extends Route.extend(WithForbiddenState) {
model() {
return RSVP.hash({
jobs: this.store.findAll('job'),
allocations: this.store.query('allocation', {
resources: true,
task_states: false,
@@ -26,7 +25,6 @@ export default class TopologyRoute extends Route.extend(WithForbiddenState) {
// When the model throws, make sure the interface expected by the controller is consistent.
if (!model) {
controller.model = {
jobs: [],
allocations: [],
nodes: [],
};