open-nomad/ui/app/serializers/resources.js

11 lines
222 B
JavaScript
Raw Normal View History

2017-09-19 14:47:10 +00:00
import ApplicationSerializer from './application';
export default class ResourcesSerializer extends ApplicationSerializer {
attrs = {
2017-09-19 14:47:10 +00:00
cpu: 'CPU',
memory: 'MemoryMB',
disk: 'DiskMB',
iops: 'IOPS',
};
}