|
|
|
@@ -1137,7 +1137,7 @@ func genClusterResources(cType string, cNum string, s *omodel.Spec) (*collector. |
|
|
|
|
|
|
|
card := &collector.Usage{ |
|
|
|
Type: ComputeSourceToCardType[cType], |
|
|
|
Name: strings.ToUpper(cType), |
|
|
|
Name: cNum + "*" + strings.ToUpper(cType), |
|
|
|
Total: &collector.UnitValue{Unit: NUMBER, Value: cardNum}, |
|
|
|
Available: &collector.UnitValue{Unit: NUMBER, Value: cardNum}, |
|
|
|
} |
|
|
|
|