diff --git a/ui/app/adapters/job.js b/ui/app/adapters/job.js index 2e47090c2..1d5919195 100644 --- a/ui/app/adapters/job.js +++ b/ui/app/adapters/job.js @@ -52,18 +52,9 @@ export default Watchable.extend({ summary: '/summary', }, - findAllocations(job) { - const url = `${this.buildURL('job', job.get('id'), job, 'findRecord')}/allocations`; - return this.ajax(url, 'GET', { data: this.buildQuery() }).then(allocs => { - return this.store.pushPayload('allocation', { - allocations: allocs, - }); - }); - }, - fetchRawDefinition(job) { const url = this.buildURL('job', job.get('id'), job, 'findRecord'); - return this.ajax(url, 'GET', { data: this.buildQuery() }); + return this.ajax(url, 'GET'); }, forcePeriodic(job) { diff --git a/ui/app/adapters/node.js b/ui/app/adapters/node.js index 5d77bebd2..8aa4b662f 100644 --- a/ui/app/adapters/node.js +++ b/ui/app/adapters/node.js @@ -1,12 +1,3 @@ import Watchable from './watchable'; -export default Watchable.extend({ - findAllocations(node) { - const url = `${this.buildURL('node', node.get('id'), node, 'findRecord')}/allocations`; - return this.ajax(url, 'GET').then(allocs => { - return this.store.pushPayload('allocation', { - allocations: allocs, - }); - }); - }, -}); +export default Watchable.extend();