fix: avoid return no data result

This commit is contained in:
Qu Xuan
2021-05-07 17:34:42 +08:00
parent 20327d53b3
commit 8ba639bb4e
+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