diff --git a/src/codeflare_sdk/cluster/cluster.py b/src/codeflare_sdk/cluster/cluster.py index eeca32986..a7e916dfa 100644 --- a/src/codeflare_sdk/cluster/cluster.py +++ b/src/codeflare_sdk/cluster/cluster.py @@ -54,7 +54,7 @@ def status(self, print_to_console=True): return None def cluster_uri(self): - return f'ray://{self.config.name}-head-svc:1001' + return f'ray://{self.config.name}-head-svc:10001' # checks whether the ray cluster is ready diff --git a/src/codeflare_sdk/utils/pretty_print.py b/src/codeflare_sdk/utils/pretty_print.py index 995c6813e..04c84c22c 100644 --- a/src/codeflare_sdk/utils/pretty_print.py +++ b/src/codeflare_sdk/utils/pretty_print.py @@ -12,8 +12,8 @@ def print_no_resources_found(): console.print(Panel("[red]No resources found")) -def print_appwrappers_status(app_wrappers:List[AppWrapper]): - if not app_wrappers == 0: +def print_appwrappsers_status(app_wrappers:List[AppWrapper]): + if not app_wrappers: print_no_resources_found() return #shortcircuit