rename distribution_registry_store

This commit is contained in:
Dinesh Yeduguru 2024-11-04 17:23:49 -08:00
parent 46836657d3
commit 4301d2a9c2
2 changed files with 3 additions and 3 deletions

View file

@ -139,7 +139,7 @@ One or more providers to use for each API. The same provider_type (e.g., meta-re
can be instantiated multiple times (with different configs) if necessary. can be instantiated multiple times (with different configs) if necessary.
""", """,
) )
distribution_registry_store: Optional[KVStoreConfig] = Field( metadata_store: Optional[KVStoreConfig] = Field(
default=None, default=None,
description=""" description="""
Configuration for the persistence store used by the distribution registry. If not specified, Configuration for the persistence store used by the distribution registry. If not specified,

View file

@ -282,8 +282,8 @@ def main(
app = FastAPI() app = FastAPI()
# instantiate kvstore for storing and retrieving distribution metadata # instantiate kvstore for storing and retrieving distribution metadata
if config.distribution_registry_store: if config.metadata_store:
dist_kvstore = asyncio.run(kvstore_impl(config.distribution_registry_store)) dist_kvstore = asyncio.run(kvstore_impl(config.metadata_store))
else: else:
dist_kvstore = asyncio.run( dist_kvstore = asyncio.run(
kvstore_impl( kvstore_impl(