Browse Source

update

tags/v1.22.6.1^2
liuzx 4 years ago
parent
commit
727ffa00d9
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      routers/api/v1/repo/cloudbrain_dashboard.go

+ 0
- 2
routers/api/v1/repo/cloudbrain_dashboard.go View File

@@ -69,9 +69,7 @@ func GetAllCloudbrainsOverview(ctx *context.Context) {
//today overview
beginTime := now.AddDate(0, 0, 0)
beginTime = time.Date(beginTime.Year(), beginTime.Month(), beginTime.Day(), 0, 0, 0, 0, now.Location())
log.Info("beginTime:", beginTime)
endTime := now
log.Info("endTime:", endTime)
jobWaitingPeriodCount, err := models.GetJobWaitingPeriodCount(beginTime, endTime)
if err != nil {
log.Error("Can not query jobWaitingCount.", err)


Loading…
Cancel
Save