Jonathan Choate has uploaded a new change for review.

Change subject: engine-core: fixing NPE in importVmTemplateCommand
......................................................................

engine-core: fixing NPE in importVmTemplateCommand

The frontend provides a partially constructed
vmTemplate object that does not have its disk list
populated.  This change handles this possibility
and instead infers the disk list from the disk to
storage domain map. This gets used when determining
if there is adequate disk space on the storage domains
when importing the template.

Change-Id: I8393803f807412bb6b58b8b7656db0d89a0cc2f2
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MoveOrCopyTemplateCommand.java
1 file changed, 13 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/08/1408/1
--
To view, visit http://gerrit.ovirt.org/1408
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8393803f807412bb6b58b8b7656db0d89a0cc2f2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Jonathan Choate <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to