Update dependency vmware/govmomi to v0.20.3


misterikkit committed on Oct 4
govmomi is the vSphere client library used by the vSphere cloud provider
and storage plugin. A bug in the SOAP client prevented storage classes
that use vSphere storage policies (aka SPBM) from working.

This bumps our dependency on vmware/govmomi from v0.20.1 to v0.20.3 to
pick up the fix in vmware/govmomi#1498

Here are all changes in the release:
https://github.com/vmware/govmomi/compare/v0.20.1...v0.20.3
This commit is contained in:
Jonathan Basseri
2019-11-06 16:29:23 -08:00
parent c466fd9eaf
commit 42290ddf04
7 changed files with 15 additions and 8 deletions

View File

@@ -906,6 +906,12 @@ func (f *Finder) DefaultFolder(ctx context.Context) (*object.Folder, error) {
}
folder := object.NewFolder(f.client, ref.Reference())
// Set the InventoryPath of the newly created folder object
// The default foler becomes the datacenter's "vm" folder.
// The "vm" folder always exists for a datacenter. It cannot be
// removed or replaced
folder.SetInventoryPath(path.Join(f.dc.InventoryPath, "vm"))
return folder, nil
}

View File

@@ -169,6 +169,7 @@ func (c *Client) NewServiceClient(path string, namespace string) *Client {
client := NewClient(u, c.k)
client.Namespace = "urn:" + namespace
client.Transport.(*http.Transport).TLSClientConfig = c.Transport.(*http.Transport).TLSClientConfig
if cert := c.Certificate(); cert != nil {
client.SetCertificate(*cert)
}