Skip to content

Commit eeb717f

Browse files
author
Lee Yang
committed
integer port
1 parent b60d952 commit eeb717f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflowonspark/TFSparkNode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def _mapfn(iter):
211211
if tensorboard and job_name == tb_job_name and task_index == 0:
212212
if 'TENSORBOARD_PORT' in os.environ:
213213
# use port defined in env var
214-
tb_port = os.environ['TENSORBOARD_PORT']
214+
tb_port = int(os.environ['TENSORBOARD_PORT'])
215215
else:
216216
# otherwise, find a free port
217217
tb_sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

0 commit comments

Comments
 (0)