Change in ovirt-engine[master]: core: cleanup end action for import-vm

ahadas at redhat.com ahadas at redhat.com
Thu Dec 10 16:38:18 UTC 2015


Arik Hadas has submitted this change and it was merged.

Change subject: core: cleanup end action for import-vm
......................................................................


core: cleanup end action for import-vm

1. Now that the VM is locked for the entire execution
of the import command, it cannot be missing in the db
when the command is ended, thus removing the null-check.

2. Inline the endImportCommand method.

Change-Id: I6d5423b9dddd207c583dee023232e481fa019a18
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
1 file changed, 5 insertions(+), 22 deletions(-)

Approvals:
  Maor Lipchuk: Looks good to me, approved
  Arik Hadas: Verified; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/50223
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6d5423b9dddd207c583dee023232e481fa019a18
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list