We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 112a2d6 + 4c5ce05 commit 3a19fa8Copy full SHA for 3a19fa8
kvmagent/kvmagent/plugins/vm_plugin.py
@@ -342,7 +342,7 @@ def delete_stale_chains(self):
342
for vm in vms:
343
if is_namespace_used():
344
vm_id_node = find_zstack_metadata_node(etree.fromstring(vm.domain_xml), 'internalId')
345
- if not vm_id_node:
+ if vm_id_node is None:
346
continue
347
348
vm_id = vm_id_node.text
0 commit comments