Skip to content

Commit 9b477b0

Browse files
authored
minor list of changes (#18)
* fixing app wrapper check * minor stashed changes * fixed the address Co-authored-by: Atin Sood <asood@us.ibm.com>
1 parent 6233296 commit 9b477b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/codeflare_sdk/cluster/cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def status(self, print_to_console=True):
5454
return None
5555

5656
def cluster_uri(self):
57-
return f'ray://{self.config.name}-head-svc:1001'
57+
return f'ray://{self.config.name}-head-svc:10001'
5858

5959

6060
# checks whether the ray cluster is ready

src/codeflare_sdk/utils/pretty_print.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ def print_no_resources_found():
1212
console.print(Panel("[red]No resources found"))
1313

1414

15-
def print_appwrappers_status(app_wrappers:List[AppWrapper]):
16-
if not app_wrappers == 0:
15+
def print_appwrappsers_status(app_wrappers:List[AppWrapper]):
16+
if not app_wrappers:
1717
print_no_resources_found()
1818
return #shortcircuit
1919

0 commit comments

Comments
 (0)