diff --git a/app/models/manageiq/providers/vmware/infra_manager/provision/cloning.rb b/app/models/manageiq/providers/vmware/infra_manager/provision/cloning.rb index cf990c10d..78c1d6b2e 100644 --- a/app/models/manageiq/providers/vmware/infra_manager/provision/cloning.rb +++ b/app/models/manageiq/providers/vmware/infra_manager/provision/cloning.rb @@ -168,7 +168,7 @@ def clone_vm(vim_clone_options) def datastore_ems_ref(clone_opts) datastore = Storage.find_by(:id => clone_opts[:datastore].id) - datastore.try(:ems_ref) + datastore.try(:ems_ref_obj) end def get_selected_snapshot