fix: update eval serializer to latest changes
This commit is contained in:
parent
ead706037d
commit
8533abde2e
|
@ -1,6 +1,6 @@
|
|||
import ApplicationAdapter from './application';
|
||||
|
||||
export default class EvaluationAdapater extends ApplicationAdapter {
|
||||
export default class EvaluationAdapter extends ApplicationAdapter {
|
||||
handleResponse(_status, headers) {
|
||||
const result = super.handleResponse(...arguments);
|
||||
result.meta = { nextToken: headers['x-nomad-nexttoken'] };
|
||||
|
|
|
@ -40,6 +40,8 @@ module('Unit | Serializer | Evaluation', function (hooks) {
|
|||
nodesAvailable: 10,
|
||||
},
|
||||
],
|
||||
namespace: 'test-namespace',
|
||||
plainJobId: 'some-job-id',
|
||||
},
|
||||
relationships: {
|
||||
job: {
|
||||
|
@ -89,6 +91,8 @@ module('Unit | Serializer | Evaluation', function (hooks) {
|
|||
nodesAvailable: 25,
|
||||
},
|
||||
],
|
||||
namespace: 'test-namespace',
|
||||
plainJobId: 'some-job-id',
|
||||
},
|
||||
relationships: {
|
||||
job: {
|
||||
|
|
Loading…
Reference in New Issue