add limitation to GPUs in ReservationsOverview
@@ -129,8 +129,9 @@ export default {
for (var nodeName in this.nodes) {
resourceTypes = []
node = this.nodes[nodeName]
- for (var resourceTypeName in node) {
resources = []
+ for (var resourceTypeName in node) {
+ if (resourceTypeName === 'GPU') {
resourceType = node[resourceTypeName]
for (var resourceUUID in resourceType) {
tempResource = {
@@ -143,6 +144,7 @@ export default {
tempResource.metrics['checked'] = true
resources.push(tempResource)
}
+ }
orderedResources = _.orderBy(resources, 'resourceIndex')
tempResourceType = {
name: resourceTypeName,
