From 350fb5b9d10c46a1fd6b7e8303d5619161d94d47 Mon Sep 17 00:00:00 2001 From: Ian Rodney Date: Mon, 15 Feb 2021 18:04:00 -0800 Subject: [PATCH] [autoscaler] Remove Hardcoded 8265 (#14112) --- python/ray/scripts/scripts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ray/scripts/scripts.py b/python/ray/scripts/scripts.py index 8deaa6f4a..50ac89f03 100644 --- a/python/ray/scripts/scripts.py +++ b/python/ray/scripts/scripts.py @@ -117,13 +117,13 @@ def cli(logging_level, logging_format): "-p", required=False, type=int, - default=8265, + default=ray_constants.DEFAULT_DASHBOARD_PORT, help="The local port to forward to the dashboard") @click.option( "--remote-port", required=False, type=int, - default=8265, + default=ray_constants.DEFAULT_DASHBOARD_PORT, help="The remote port your dashboard runs on") def dashboard(cluster_config_file, cluster_name, port, remote_port): """Port-forward a Ray cluster's dashboard to the local machine."""