This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/cloudstack-kubernetes-provider.git
The following commit(s) were added to refs/heads/main by this push:
new 910f5581 List virtual machines with details=min,nics (#60)
910f5581 is described below
commit 910f558153c1bb0f5068f5e17ff8dd0b7aebd7fd
Author: Wei Zhou <[email protected]>
AuthorDate: Mon May 20 09:13:49 2024 +0200
List virtual machines with details=min,nics (#60)
---
cloudstack_loadbalancer.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/cloudstack_loadbalancer.go b/cloudstack_loadbalancer.go
index 1859da7d..8c7ef197 100644
--- a/cloudstack_loadbalancer.go
+++ b/cloudstack_loadbalancer.go
@@ -354,6 +354,7 @@ func (cs *CSCloud) verifyHosts(nodes []*corev1.Node)
([]string, string, error) {
p := cs.client.VirtualMachine.NewListVirtualMachinesParams()
p.SetListall(true)
+ p.SetDetails([]string{"min", "nics"})
if cs.projectID != "" {
p.SetProjectid(cs.projectID)