summaryrefslogtreecommitdiff
path: root/virtManager/device/addstorage.py
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2020-01-24 12:09:23 -0500
committerCole Robinson <crobinso@redhat.com>2020-01-24 15:39:41 -0500
commit1aff5a611e01936768d2fb4dc5dddcb12a67b770 (patch)
tree69ac9af0aec9def4dfa6cf9a4d34e62c3a4d92b2 /virtManager/device/addstorage.py
parent670e2fe11a9ddacdd2a332e0969e3b151b6d69ab (diff)
downloadvirt-manager-1aff5a611e01936768d2fb4dc5dddcb12a67b770.tar.gz
connection: Remove is_*_capable wrappers
Call the conn.support check directly. Move the check logging to the initial startup path Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virtManager/device/addstorage.py')
-rw-r--r--virtManager/device/addstorage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/virtManager/device/addstorage.py b/virtManager/device/addstorage.py
index 38cf74d0..9fc8ffc3 100644
--- a/virtManager/device/addstorage.py
+++ b/virtManager/device/addstorage.py
@@ -132,7 +132,7 @@ class vmmAddStorage(vmmGObjectUI):
storage_tooltip = None
can_storage = (not self.conn.is_remote() or
- self.conn.is_storage_capable())
+ self.conn.support.conn_storage())
use_storage = self.widget("storage-select")
storage_area = self.widget("storage-box")