Skip to content

Commit

Permalink
refactor: platform add /c to cluster routes by slug
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Aug 1, 2024
1 parent fb2bcb2 commit 50fe603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silverback/cluster/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def get_cluster_client(self, cluster_name: str) -> ClusterClient:
raise ValueError(f"Unknown cluster '{cluster_name}' in workspace '{self.name}'.")

return ClusterClient(
base_url=f"{self.client.base_url}/{self.slug}/{cluster.slug}",
base_url=f"{self.client.base_url}/c/{self.slug}/{cluster.slug}",
cookies=self.client.cookies, # NOTE: pass along platform cookies for proxy auth
)

Expand Down

0 comments on commit 50fe603

Please sign in to comment.