Browse Source

update

tags/v1.22.11.1^2
liuzx 3 years ago
parent
commit
a68484f287
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      routers/repo/cloudbrain_statistic.go

+ 0
- 2
routers/repo/cloudbrain_statistic.go View File

@@ -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 {


Loading…
Cancel
Save