summaryrefslogtreecommitdiffstats
path: root/iscsi.py
diff options
context:
space:
mode:
Diffstat (limited to 'iscsi.py')
-rw-r--r--iscsi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/iscsi.py b/iscsi.py
index 22c83b10e..4922b0a33 100644
--- a/iscsi.py
+++ b/iscsi.py
@@ -114,9 +114,9 @@ class iscsiTarget:
ret = False
for node in self.nodes:
- if _login(node, portal):
+ if _login(node, self.portal):
ret = True
- _autostart(node, portal)
+ _autostart(node, self.portal)
# we return True if there were any successful logins for our portal.
return ret