mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
refact: remove unused API (#15244)
This commit is contained in:
@@ -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: [],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user