open-nomad/ui/app/models/task.js
Buck Doyle ee0e74186f
UI: Move kind property to task (#6271)
I put this property in the wrong place. 

I’ve found how to fix the mock API in the tests but
they’re failing to pass with headless Chrome only,
so they’re skipped for now.
2019-09-05 13:14:54 -05:00

14 lines
347 B
JavaScript

import attr from 'ember-data/attr';
import Fragment from 'ember-data-model-fragments/fragment';
export default Fragment.extend({
name: attr('string'),
driver: attr('string'),
kind: attr('string'),
reservedMemory: attr('number'),
reservedCPU: attr('number'),
reservedDisk: attr('number'),
reservedEphemeralDisk: attr('number'),
});