mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-10-27 01:55:20 +03: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',
|
||||
'md-clear']
|
||||
|
||||
if self._features:
|
||||
if self._features is not None:
|
||||
return self._features
|
||||
|
||||
self._features = []
|
||||
|
Loading…
Reference in New Issue
Block a user