mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-09 08:58:27 +03:00
domcapabilities: fix typo in function name
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
29f815fbd2
commit
b711b28b1a
@ -256,7 +256,7 @@ class DomainCapabilities(XMLBuilder):
|
||||
arch.text = self.arch
|
||||
return ET.tostring(root, encoding="unicode")
|
||||
|
||||
def _get_expandned_cpu(self, mode):
|
||||
def _get_expanded_cpu(self, mode):
|
||||
cpuXML = self._convert_mode_to_cpu(mode.get_xml())
|
||||
logging.debug("CPU XML for security flag baseline: %s", cpuXML)
|
||||
|
||||
@ -286,7 +286,7 @@ class DomainCapabilities(XMLBuilder):
|
||||
continue
|
||||
|
||||
try:
|
||||
cpu = self._get_expandned_cpu(m)
|
||||
cpu = self._get_expanded_cpu(m)
|
||||
except libvirt.libvirtError as e:
|
||||
logging.warning(_("Failed to get expanded CPU XML: %s"), e)
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user