@@ -70,15 +70,11 @@ def print_cluster_status(cluster: RayCluster):
70
70
)
71
71
name = cluster .name
72
72
dashboard = cluster .dashboard
73
- # owned = bool(cluster["userOwned"])
74
- owned = True
75
73
76
74
#'table0' to display the cluster name, status, url, and dashboard link
77
75
table0 = Table (box = None , show_header = False )
78
- if owned :
79
- table0 .add_row ("[white on green][bold]Name" )
80
- else :
81
- table0 .add_row ("" )
76
+
77
+ table0 .add_row ("[white on green][bold]Name" )
82
78
table0 .add_row ("[bold underline]" + name , status )
83
79
table0 .add_row ()
84
80
# fixme harcded to default for now
@@ -119,15 +115,11 @@ def print_clusters(clusters: List[RayCluster]):
119
115
memory = str (cluster .worker_mem_min ) + "~" + str (cluster .worker_mem_max )
120
116
cpu = str (cluster .worker_cpu )
121
117
gpu = str (cluster .worker_gpu )
122
- # owned = bool(cluster["userOwned"])
123
- owned = True
124
118
125
119
#'table0' to display the cluster name, status, url, and dashboard link
126
120
table0 = Table (box = None , show_header = False )
127
- if owned :
128
- table0 .add_row ("[white on green][bold]Name" )
129
- else :
130
- table0 .add_row ("" )
121
+
122
+ table0 .add_row ("[white on green][bold]Name" )
131
123
table0 .add_row ("[bold underline]" + name , status )
132
124
table0 .add_row ()
133
125
# fixme harcded to default for now
0 commit comments