Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatajagannath committed Jul 22, 2024
1 parent 2eea3bf commit 050615f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ray_provider/operators/ray.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def _create_or_update_cluster(
"""Create or update the Ray cluster based on the cluster specification."""
try:
self.hook.get_custom_object(group=group, version=version, plural=plural, name=name, namespace=namespace)
self.log.info(f"Updating existing Ray cluster: {name}")
if self.update_if_exists:
self.log.info(f"Updating existing Ray cluster: {name}")
self.hook.custom_object_client.patch_namespaced_custom_object(
group=group, version=version, namespace=namespace, plural=plural, name=name, body=cluster_spec
)
Expand Down

0 comments on commit 050615f

Please sign in to comment.