Closed lipingxue closed 5 months ago
we set version for vim client as below.
https://github.com/vmware/govmomi/blob/main/cns/client_test.go#L104C2-L104C29
c.UseServiceVersion("vsan")
cnsClient, err := NewClient(ctx, c.Client)
Can we remove c.UseServiceVersion("vsan")
and execute tests against vCenter?
This change is not needed. The issue has been addressed by this MR https://github.com/vmware/govmomi/pull/3406
Description
This change is to remove code to change the Namespace to vim25 in NewClient function. This is not needed and other client does not have this logic. Closes: #(issue-number)
Type of change
Please mark options that are relevant:
How Has This Been Tested?
Run the unit test for cns client, and it passed.
Checklist:
CONTRIBUTION
guidelines of this project