Merge "Fix confusing exception message in NetApp iscsi driver"

This commit is contained in:
Jenkins
2014-09-24 03:23:29 +00:00
committed by Gerrit Code Review
2 changed files with 19 additions and 2 deletions

View File

@@ -269,7 +269,7 @@ class NetAppDirectISCSIDriver(driver.ISCSIDriver):
LOG.debug(msg % msg_fmt)
if not target_details_list:
msg = _('Failed to get LUN target details for the LUN %s')
msg = _('No iscsi target details were found for LUN %s')
raise exception.VolumeBackendAPIException(data=msg % name)
target_details = None
for tgt_detail in target_details_list: