From 7b11e1237b6bee0070be2a89c5ab01766e4036b9 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Tue, 13 Feb 2024 05:42:36 -0600 Subject: [PATCH] Replace property.Filter with property.Match This is needed to account for v0.35.0 vmware/govmomi API changes in the property package. --- internal/vsphere/vms.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/vsphere/vms.go b/internal/vsphere/vms.go index 44b31137..e4e30317 100644 --- a/internal/vsphere/vms.go +++ b/internal/vsphere/vms.go @@ -1284,7 +1284,7 @@ func getVMsCountUsingRootFolderContainerView( } }() - filter := property.Filter{"config.template": false} + filter := property.Match{"config.template": false} prop := []string{"overallStatus"} retrieveErr := v.RetrieveWithFilter(ctx, kind, prop, &allVMs, filter)