storage: Remove unused function

This commit is contained in:
Cole Robinson 2014-12-09 17:42:01 -05:00
parent f7c17d4c46
commit 626295a036

View File

@ -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 #