mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-24 02:04:13 +03:00
storage: Remove unused function
This commit is contained in:
parent
f7c17d4c46
commit
626295a036
@ -443,16 +443,6 @@ class StoragePool(_StorageObject):
|
||||
StoragePool.TYPE_DISK,
|
||||
StoragePool.TYPE_RBD, StoragePool.TYPE_SHEEPDOG]
|
||||
|
||||
def get_vm_disk_type(self):
|
||||
"""
|
||||
Return the /disk/@type value if the pool source is used as
|
||||
VirtualDisk path
|
||||
"""
|
||||
xpath = self._make_source_xpath()
|
||||
if "/dir/" in xpath:
|
||||
return "dir"
|
||||
return "block"
|
||||
|
||||
|
||||
##################
|
||||
# Build routines #
|
||||
|
Loading…
x
Reference in New Issue
Block a user