Mike Kolesnik has submitted this change and it was merged.

Change subject: core: Cleanup ExportVmCommand canDoAction
......................................................................


core: Cleanup ExportVmCommand canDoAction

Clean the check for id & name existing on export domain.
If the ID is the same, then fail only if not overriding.
Otherwise, fail if name already exists on the domain (regardless of the
override, since name if not the id of the VM).

Change-Id: Iaa161d12908ad3dda3ec60c2cf901ca070c22833
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ExportVmCommand.java
1 file changed, 7 insertions(+), 13 deletions(-)

Approvals:
  Mike Kolesnik: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/3274
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaa161d12908ad3dda3ec60c2cf901ca070c22833
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to