open-nomad/ui/app/serializers/resources.js
Buck Doyle cd11cd290c Add manually-converted classes
I don’t know why the codemod ignored these files 🧐
2020-06-15 10:14:26 -05:00

11 lines
222 B
JavaScript

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