less log spam
This commit is contained in:
@@ -214,7 +214,7 @@ func (v *Vcenter) FindVMByIDWithDatacenter(vmID string, dcID string) (*VmPropert
|
|||||||
//err := v.client.RetrieveOne(v.ctx, vmRef, []string{"config", "name"}, &vm)
|
//err := v.client.RetrieveOne(v.ctx, vmRef, []string{"config", "name"}, &vm)
|
||||||
err = v.client.RetrieveOne(v.ctx, vmRef, nil, &vm)
|
err = v.client.RetrieveOne(v.ctx, vmRef, nil, &vm)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
v.Logger.Debug("Found VM", "vm", vm)
|
v.Logger.Debug("Found VM")
|
||||||
return &VmProperties{
|
return &VmProperties{
|
||||||
//Datacenter: dcName,
|
//Datacenter: dcName,
|
||||||
Vm: vm,
|
Vm: vm,
|
||||||
|
Reference in New Issue
Block a user