mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-17 10:22:56 +00:00
@@ -346,7 +346,7 @@ class PageserverHttpClient(requests.Session, MetricsGetter):
|
||||
assert isinstance(res_json["tenant_shards"], list)
|
||||
return res_json
|
||||
|
||||
def tenant_get_location(self, tenant_id: TenantShardId):
|
||||
def tenant_get_location(self, tenant_id: Union[TenantId, TenantShardId]):
|
||||
res = self.get(
|
||||
f"http://localhost:{self.port}/v1/location_config/{tenant_id}",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user