diff --git a/modules/cloudbrain/resty.go b/modules/cloudbrain/resty.go index bee9967ec..66d8d52bc 100755 --- a/modules/cloudbrain/resty.go +++ b/modules/cloudbrain/resty.go @@ -130,6 +130,7 @@ sendjob: res, err := client.R(). SetHeader("Content-Type", "application/json"). SetAuthToken(TOKEN). + SetBody(map[string]interface{}{"pageIndex": 1, "pageSize": 100}). SetResult(&getImagesResult). Get(HOST + "/rest-server/api/v1/image/list/") @@ -161,7 +162,7 @@ sendjob: res, err := client.R(). SetHeader("Content-Type", "application/json"). SetAuthToken(TOKEN). - SetBody(map[string]interface{}{"pageIndex": 1, "pageSize": 50}). + SetBody(map[string]interface{}{"pageIndex": 1, "pageSize": 100}). SetResult(&getImagesResult). Get(HOST + "/rest-server/api/v1/image/public/list/")