end
# if just probing, return any object found
- if just_probe
- show; return
+ if just_probe
+ @object[:email] = nil
+ show
+ return
end
# create if need be, and then create or update the links as needed
# Look up the given virtual machine just to make sure it really exists.
begin
vm = (vms = VirtualMachine.where(uuid: vm_uuid)) != nil ? vms.first : nil
- #vm = VirtualMachine.where(uuid: vm_uuid)
-
if not vm
logger.warn "Could not look up virtual machine with uuid #{vm_uuid.inspect}"
return