fix: verbose api helper params (#19220)

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
Jian Qiu
2024-01-11 05:43:59 +08:00
committed by GitHub
parent 53dc58dc69
commit 416a26d12e
+1
View File
@@ -151,6 +151,7 @@ func GetModels(opts *GetModelsOptions) error {
entriesJson := []jsonutils.JSONObject{}
for {
var err error
log.Debugf("fetch %s with params %s", manKeyPlural, jsonutils.Marshal(params))
listResult, err := opts.ModelManager.List(opts.ClientSession, params)
if err != nil {
log.Errorf("%s: list failed with updated_at.gt('%s'): %s", manKeyPlural, minUpdatedAt, err)