Change in ovirt-engine[master]: core: set current user in import glance image as template

oourfali at redhat.com oourfali at redhat.com
Wed Apr 9 15:28:27 UTC 2014


Oved Ourfali has submitted this change and it was merged.

Change subject: core: set current user in import glance image as template
......................................................................


core: set current user in import glance image as template

Importing a glance image may take a while.
Thus, when calling AddVmTemplate the session may no longer be valid, so getCurrentUser() will return null.
This patch sets the user in the parameters class. CommandBase makes sure to take that in case getCurrentUser() is null

Change-Id: I69dd535db983471ba31b8d427b4e0a373f1f7dc4
Bug-Url: https://bugzilla.redhat.com/1085712
Signed-off-by: Oved Ourfali <oourfali at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportRepoImageCopyTaskHandler.java
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Federico Simoncelli: Looks good to me, but someone else must approve
  Oved Ourfali: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I69dd535db983471ba31b8d427b4e0a373f1f7dc4
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list