|
|
|
@@ -48,8 +48,6 @@ func CloudbrainDurationStatisticHour() { |
|
|
|
for _, resourceQueue := range resourceQueues { |
|
|
|
cardsTotalDurationMap[resourceQueue.Cluster+"/"+resourceQueue.AiCenterName+"/"+resourceQueue.AiCenterCode+"/"+resourceQueue.AccCardType+"/"+resourceQueue.ComputeResource] = resourceQueue.CardsTotalNum * 1 * 60 * 60 |
|
|
|
} |
|
|
|
log.Info("cardsTotalDurationMap: %v", cardsTotalDurationMap) |
|
|
|
log.Info("cloudBrainCenterCodeAndCardTypeInfo: %v", cloudBrainCenterCodeAndCardTypeInfo) |
|
|
|
|
|
|
|
for centerCode, CardTypeInfo := range cloudBrainCenterCodeAndCardTypeInfo { |
|
|
|
for cardType, cardDuration := range CardTypeInfo { |
|
|
|
|