DaanHoogland commented on code in PR #9925:
URL: https://github.com/apache/cloudstack/pull/9925#discussion_r1899534009
##########
ui/src/views/tools/ManageInstances.vue:
##########
@@ -1408,11 +1408,31 @@ export default {
})
}
},
+ async fetchMoreVms (obj) {
+ var params = obj.params
+ params.token = obj.response.token
+ api('listVmwareDcVms', params).then(json => {
+ const obj = {
+ params: params,
+ response: json.listvmwaredcvmsresponse
+ }
+ this.unmanagedInstances.append(obj.response.unmanagedinstance)
+ this.checkForMoreVms(obj)
Review Comment:
because if token is null and we call again we start over to the beginning of
the list of VMs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]