Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespace bug fix #59

Merged
merged 2 commits into from
Sep 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ray_provider/hooks/ray.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ def setup_ray_cluster(
kind = cluster_spec["kind"]
plural = f"{kind.lower()}s" if kind == "RayCluster" else kind
name = cluster_spec["metadata"]["name"]
namespace = self.get_namespace()
namespace = self.namespace
api_version = cluster_spec["apiVersion"]
group, version = api_version.split("/") if "/" in api_version else ("", api_version)

Expand Down Expand Up @@ -515,7 +515,7 @@ def _delete_ray_cluster_crd(self, ray_cluster_yaml: str) -> None:
kind = cluster_spec["kind"]
plural = f"{kind.lower()}s" if kind == "RayCluster" else kind
name = cluster_spec["metadata"]["name"]
namespace = self.get_namespace()
namespace = self.namespace
api_version = cluster_spec["apiVersion"]
group, version = api_version.split("/") if "/" in api_version else ("", api_version)

Expand Down
Loading