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 <oourf...@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 <oourf...@redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimo...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to