Merge "NetApp ONTAP NFS driver fail to flexclone glance image."

This commit is contained in:
Zuul 2020-05-06 19:52:25 +00:00 committed by Gerrit Code Review
commit 6c44a043ce
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ class NetAppNfsDriver(driver.ManageableVD,
try:
if conn:
host = conn.split(':')[0]
ip = utils.resolve_hostname(host)
ip = volume_utils.resolve_hostname(host)
share_candidates = []
for sh in self._mounted_shares:
sh_exp = sh.split(':')[-1]