handle not found vm differently
This commit is contained in:
@@ -218,5 +218,5 @@ func (v *Vcenter) FindVMByIDWithDatacenter(vmID string, dcID string) (*VmPropert
|
||||
}
|
||||
|
||||
v.Logger.Info("Unable to find vm in datacenter", "vm_id", vmID, "datacenter_id", dcID)
|
||||
return &VmProperties{}, nil
|
||||
return nil, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user