fixed typo

This commit is contained in:
Gabriel Nieves 2025-04-11 09:55:06 +00:00
parent 2d805053ad
commit f6463bb2b3
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ async def get_all_index_names(
try:
for item in container_store_client.read_all_items():
if item["type"] == "index":
items.append(item["human_readable_name"])
items.append(item["human_readable_index_name"])
except Exception as e:
logger = load_pipeline_logger()
logger.error(

View File

@ -202,7 +202,7 @@ def desanitize_name(sanitized_container_name: str) -> str | None:
try:
return container_store_client.read_item(
sanitized_container_name, sanitized_container_name
)["human_readable_name"]
)["human_readable_index_name"]
except exceptions.CosmosResourceNotFoundError:
return None
except Exception: