diskbackend: Fix busted volume lookup API name

This commit is contained in:
Cole Robinson 2015-04-13 15:59:35 -04:00
parent c82507fc41
commit 4553912c64
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ def _lookup_vol_by_basename(pool, path):
"""
name = os.path.basename(path)
if name in pool.listVolumes():
return pool.lookupByName(name)
return pool.storageVolLookupByName(name)
def check_if_path_managed(conn, path):