Skip to content

Commit

Permalink
fix type check
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Chi Z <[email protected]>
  • Loading branch information
skyzh committed Nov 19, 2024
1 parent a9db766 commit cdde254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_runner/fixtures/pageserver/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def tenant_list_locations(self):
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}",
)
Expand Down

0 comments on commit cdde254

Please sign in to comment.