Shahar Havivi has uploaded a new change for review.

Change subject: Engine: When creating template, target domain is passed as a 
source
......................................................................

Engine: When creating template, target domain is passed as a source

patch: 083eb0820b88d40f40f19006f97cfc580b84d4a6
override the source image storage domain with the destination domain id.

Change-Id: I523814cd3c1f64c1ae40624ba50f239f2cebaed7
Signed-off-by: Shahar Havivi <shav...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/27/17827/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java
index 537116c..2800909 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java
@@ -129,7 +129,6 @@
                                 : image.getStorageIds().get(0);
                 ArrayList<Guid> storageIds = new ArrayList<Guid>();
                 storageIds.add(destStorageId);
-                image.setStorageIds(storageIds);
                 diskInfoDestinationMap.put(image.getId(), image);
             }
         }


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I523814cd3c1f64c1ae40624ba50f239f2cebaed7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shav...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to