Merge pull request #10989 from ioito/automated-cherry-pick-of-#10988-upstream-release-3.7

Automated cherry pick of #10988: fix: avoid return no data result
This commit is contained in:
Zexi Li
2021-05-08 10:35:31 +08:00
committed by GitHub
+1 -1
View File
@@ -112,7 +112,7 @@ func (this *BaseManager) rawBaseUrlRequest(s *mcclient.ClientSession,
}
type ListResult struct {
Data []jsonutils.JSONObject
Data []jsonutils.JSONObject `json:"data,allowempty"`
Total int
Limit int
Offset int