mirror of https://github.com/k3s-io/k3s
Merge pull request #76114 from qingsenLi/k8s190404-fix-retrive
fix spelling error 'retrive' in logk3s-v1.15.3
commit
e302d8dc9e
|
@ -92,7 +92,7 @@ func (dc *Datacenter) GetHostByVMUUID(ctx context.Context, vmUUID string) (*type
|
|||
pc := property.DefaultCollector(virtualMachine.Client())
|
||||
err = pc.RetrieveOne(ctx, virtualMachine.Reference(), []string{"summary.runtime.host"}, &vmMo)
|
||||
if err != nil {
|
||||
klog.Errorf("Failed to retrive VM runtime host, err: %v", err)
|
||||
klog.Errorf("Failed to retrieve VM runtime host, err: %v", err)
|
||||
return nil, err
|
||||
}
|
||||
host := vmMo.Summary.Runtime.Host
|
||||
|
|
Loading…
Reference in New Issue