@@ -218,7 +218,9 @@ def apply(self, force=False):
218
218
body = body ,
219
219
force_conflicts = force ,
220
220
)
221
- print (f"AppWrapper: '{ name } ' configuration has successfully been applied" )
221
+ print (
222
+ f"AppWrapper: '{ name } ' configuration has successfully been applied"
223
+ )
222
224
else :
223
225
api_version = "ray.io/v1"
224
226
api_instance = crds .get (api_version = api_version , kind = "RayCluster" )
@@ -568,9 +570,9 @@ def _component_resources_apply(
568
570
if self .config .write_to_file :
569
571
with open (self .resource_yaml ) as f :
570
572
ray_cluster = yaml .safe_load (f )
571
- _apply_resources (ray_cluster , namespace , api_instance )
573
+ _apply_ray_cluster (ray_cluster , namespace , api_instance )
572
574
else :
573
- _apply_resources (self .resource_yaml , namespace , api_instance )
575
+ _apply_ray_cluster (self .resource_yaml , namespace , api_instance )
574
576
575
577
def _component_resources_down (
576
578
self , namespace : str , api_instance : client .CustomObjectsApi
@@ -809,7 +811,7 @@ def _create_resources(yamls, namespace: str, api_instance: client.CustomObjectsA
809
811
)
810
812
811
813
812
- def _apply_resources (
814
+ def _apply_ray_cluster (
813
815
yamls , namespace : str , api_instance : client .CustomObjectsApi , force = False
814
816
):
815
817
api_instance .server_side_apply (
0 commit comments