From Dan Kenigsberg danken@redhat.com:
Dan Kenigsberg has submitted this change and it was merged.
Change subject: virt: Don't crash on missing <memory> in MutableDomainDescriptor ......................................................................
virt: Don't crash on missing <memory> in MutableDomainDescriptor
During minidom->etree conversion changes and rebases, <memory> element stopped being optional in MutableDomainDescriptor.get_memory_size. This patch restores the original behavior and adds a test for it.
Change-Id: I338956c5f27f7b670e6ef7854ede1f393e66713f Signed-off-by: Milan Zamazal mzamazal@redhat.com --- M tests/domainDescriptorTests.py M vdsm/virt/domain_descriptor.py 2 files changed, 25 insertions(+), 2 deletions(-)
Approvals: Jenkins CI: Passed CI tests Francesco Romani: Looks good to me, approved Milan Zamazal: Verified
vdsm-patches@lists.fedorahosted.org