Skip to content

Commit e0c5261

Browse files
committed
add port convertion to int
1 parent bac8892 commit e0c5261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_elasticache/cluster_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def get_cluster_info(host, port):
2727
'version': '1.4.4'
2828
}
2929
"""
30-
client = Telnet(host, port)
30+
client = Telnet(host, int(port))
3131
client.write('version\n')
3232
res = client.read_until('\r\n').strip()
3333
version_list = res.split(' ')

0 commit comments

Comments
 (0)