updated old legacy store names
This commit is contained in:
@@ -53,7 +53,7 @@ from SYS.result_table import Table, extract_hash_value, extract_store_value, get
|
||||
|
||||
from SYS.config import load_config # type: ignore # noqa: E402
|
||||
from SYS.database import db
|
||||
from Store.registry import Store as StoreRegistry # type: ignore # noqa: E402
|
||||
from PluginCore.backend_registry import BackendRegistry # type: ignore # noqa: E402
|
||||
from SYS.cmdlet_catalog import ensure_registry_loaded, list_cmdlet_names # type: ignore # noqa: E402
|
||||
from SYS.cli_syntax import validate_pipeline_text # type: ignore # noqa: E402
|
||||
|
||||
@@ -261,7 +261,7 @@ class TagEditorPopup(ModalScreen[None]):
|
||||
if not store_key or not hash_value:
|
||||
return None
|
||||
try:
|
||||
registry = StoreRegistry(config=cfg, suppress_debug=True)
|
||||
registry = BackendRegistry(config=cfg, suppress_debug=True)
|
||||
except Exception:
|
||||
return []
|
||||
match = None
|
||||
@@ -984,9 +984,9 @@ class PipelineHubApp(App):
|
||||
|
||||
stores: List[str] = []
|
||||
try:
|
||||
stores = StoreRegistry(config=cfg, suppress_debug=True).list_backends()
|
||||
stores = BackendRegistry(config=cfg, suppress_debug=True).list_backends()
|
||||
except Exception:
|
||||
logger.exception("Failed to list store backends from StoreRegistry")
|
||||
logger.exception("Failed to list store backends from BackendRegistry")
|
||||
stores = []
|
||||
|
||||
# Always offer a reasonable default even if config is missing.
|
||||
@@ -1380,7 +1380,7 @@ class PipelineHubApp(App):
|
||||
cfg = {}
|
||||
|
||||
try:
|
||||
registry = StoreRegistry(config=cfg, suppress_debug=True)
|
||||
registry = BackendRegistry(config=cfg, suppress_debug=True)
|
||||
except Exception:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user