Merge pull request #76114 from qingsenLi/k8s190404-fix-retrive

fix spelling error 'retrive' in log
This commit is contained in:
Kubernetes Prow Robot
2019-04-26 18:30:23 -07:00
committed by GitHub

View File

@@ -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