Change in ovirt-engine[master]: core: add helper method for template version

ofrenkel at redhat.com ofrenkel at redhat.com
Wed Apr 2 08:33:16 UTC 2014


Omer Frenkel has submitted this change and it was merged.

Change subject: core: add helper method for template version
......................................................................


core: add helper method for template version

some places in addVmTemplate command are checking for
baseTemplateId==null to understand if we add base template or template
version.

this patch encapsulate this logic into a method with a clear name.

Change-Id: I25229303fcee443191be1f2a1de84be345f96aff
Signed-off-by: Omer Frenkel <ofrenkel at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java
1 file changed, 8 insertions(+), 4 deletions(-)

Approvals:
  Omer Frenkel: Verified
  Arik Hadas: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I25229303fcee443191be1f2a1de84be345f96aff
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list