summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--storage/iscsi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/iscsi.py b/storage/iscsi.py
index 962959663..974fc8941 100644
--- a/storage/iscsi.py
+++ b/storage/iscsi.py
@@ -294,7 +294,7 @@ class iscsi(object):
def getNode(self, name, address, port):
for node in self.nodes:
if node.name == name and node.address == address and \
- node.port == port:
+ node.port == int(port):
return node
return None