Skip to content

Commit

Permalink
Allow people to override ui.port in config.json for stats and worker_…
Browse files Browse the repository at this point in the history
…uptime
  • Loading branch information
dan-blanchard committed Jan 11, 2016
1 parent 81fef11 commit b156eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamparse/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def get_ui_jsons(env_name, api_paths):
_, env_config = get_env_config(env_name)
host, _ = get_nimbus_for_env_config(env_config)
# TODO: Get remote_ui_port from storm?
remote_ui_port = 8080
remote_ui_port = env_config.get('ui.port', 8080)
# SSH tunnel can take a while to close. Check multiples if necessary.
local_ports = list(range(8081, 8090))
shuffle(local_ports)
Expand Down

0 comments on commit b156eed

Please sign in to comment.