diff --git a/silverback/cluster/client.py b/silverback/cluster/client.py index d612cee3..59113e4f 100644 --- a/silverback/cluster/client.py +++ b/silverback/cluster/client.py @@ -112,7 +112,7 @@ def update( def get_revision(self, revision: int | Literal["latest"] = "latest") -> VariableGroupInfo: # TODO: Add `/latest` revision route if revision == "latest": - revision = "" # type: ignore[assignment] + revision = -1 # NOTE: This works with how cluster does lookup response = self.cluster.get(f"/variables/{self.id}/{revision}") handle_error_with_response(response)