Merge "NetApp ONTAP NFS driver fail to flexclone glance image." into stable/ussuri

This commit is contained in:
Zuul 2020-05-14 18:06:48 +00:00 committed by Gerrit Code Review
commit d077c4f66f
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]