From 1f4da8ced1668524df2c12408f989d53ecf7ae9d Mon Sep 17 00:00:00 2001 From: liuzx Date: Wed, 2 Nov 2022 11:12:05 +0800 Subject: [PATCH] update --- routers/admin/cloudbrains.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 {