mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
domcaps: Fix check for uncached security features
We need to check against None, which is the initial value, otherwise a host with none of the security features present will repeatedly poll libvirt baseline APIs Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
51d84c54cb
commit
d934d6f266
@ -296,7 +296,7 @@ class DomainCapabilities(XMLBuilder):
|
|||||||
'virt-ssbd',
|
'virt-ssbd',
|
||||||
'md-clear']
|
'md-clear']
|
||||||
|
|
||||||
if self._features:
|
if self._features is not None:
|
||||||
return self._features
|
return self._features
|
||||||
|
|
||||||
self._features = []
|
self._features = []
|
||||||
|
Loading…
Reference in New Issue
Block a user