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

11 lines
222 B
JavaScript

import ApplicationSerializer from './application';
export default class ResourcesSerializer extends ApplicationSerializer {
attrs = {
cpu: 'CPU',
memory: 'MemoryMB',
disk: 'DiskMB',
iops: 'IOPS',
};
}