From 50fe60353f83ac1d731142c9e5482b0b9e8edfbc Mon Sep 17 00:00:00 2001 From: fubuloubu <3859395+fubuloubu@users.noreply.github.com> Date: Wed, 31 Jul 2024 21:29:36 -0400 Subject: [PATCH] refactor: platform add `/c` to cluster routes by slug --- silverback/cluster/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/silverback/cluster/client.py b/silverback/cluster/client.py index c4df65d4..817385d8 100644 --- a/silverback/cluster/client.py +++ b/silverback/cluster/client.py @@ -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 )