Liron Ar has posted comments on this change.

Change subject: core: set correct entity id when importing template
......................................................................


Patch Set 2: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmTemplateCommand.java
Line 288:                     
tempVar.setCopyVolumeType(CopyVolumeType.SharedVol);
Line 289:                     
tempVar.setSourceDomainId(getParameters().getSourceDomainId());
Line 290:                     
tempVar.setForceOverride(getParameters().getForceOverride());
Line 291:                     tempVar.setImportEntity(true);
Line 292:                     tempVar.setEntityId(containerID);
If i'll remove it , it will be set as the image id (finally at 
ImageActionParametersBase).
Line 293:                     for (DiskImage diskImage : 
getParameters().getVmTemplate().getDiskList()) {
Line 294:                         if 
(diskGuidList.get(i).equals(diskImage.getId())) {
Line 295:                             
tempVar.setQuotaId(diskImage.getQuotaId());
Line 296:                             break;


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I7b08c91bf3caf4faec0da9e10adf360dad16e2ac
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Ar <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Ar <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to