Merge "Replace ip with portal to express more accurately"

This commit is contained in:
Jenkins 2016-06-22 10:31:30 +00:00 committed by Gerrit Code Review
commit f359ecc3f7
1 changed files with 2 additions and 2 deletions

View File

@ -796,9 +796,9 @@ class ISCSIConnector(BaseLinuxConnector):
return self.transport
def _iterate_all_targets(self, connection_properties):
for ip, iqn, lun in self._get_all_targets(connection_properties):
for portal, iqn, lun in self._get_all_targets(connection_properties):
props = copy.deepcopy(connection_properties)
props['target_portal'] = ip
props['target_portal'] = portal
props['target_iqn'] = iqn
props['target_lun'] = lun
for key in ('target_portals', 'target_iqns', 'target_luns'):