diff --git a/routers/admin/cloudbrains.go b/routers/admin/cloudbrains.go index bbf0d8dd3..5f42c8a51 100755 --- a/routers/admin/cloudbrains.go +++ b/routers/admin/cloudbrains.go @@ -70,7 +70,7 @@ func CloudBrains(ctx *context.Context) { keyword := strings.Trim(ctx.Query("q"), " ") - ciTasks, totalcount, err := models.Cloudbrains(&models.CloudbrainsOptions{ + ciTasks, _, err := models.Cloudbrains(&models.CloudbrainsOptions{ ListOptions: models.ListOptions{ Page: page, PageSize: setting.UI.IssuePagingNum, @@ -93,7 +93,6 @@ func CloudBrains(ctx *context.Context) { models.LoadSpecs4CloudbrainInfo(ciTasks) tasks := []*models.CloudbrainInfo{} - log.Info("totalcount:", totalcount) for _, task := range ciTasks { if aiCenter == "" || aiCenter == task.Cloudbrain.Spec.AiCenterCode {