Browse Source

update octopushttp resourcePool

pull/543/head
tzwang 2 months ago
parent
commit
c5a7c7f233
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      internal/storeLink/octopusHttp/octopusHttp.go

+ 1
- 1
internal/storeLink/octopusHttp/octopusHttp.go View File

@@ -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},
}


Loading…
Cancel
Save