updated old legacy store names
This commit is contained in:
+3
-3
@@ -22,7 +22,7 @@ from SYS.logger import log
|
||||
from SYS.payload_builders import build_file_result_payload
|
||||
from SYS.result_publication import publish_result_table
|
||||
from SYS.result_table import Table
|
||||
from Store import Store
|
||||
from PluginCore.backend_registry import BackendRegistry
|
||||
from SYS import pipeline as ctx
|
||||
|
||||
|
||||
@@ -250,7 +250,7 @@ class Get_Url(Cmdlet):
|
||||
MAX_RESULTS = 256
|
||||
|
||||
try:
|
||||
storage = Store(config)
|
||||
storage = BackendRegistry(config)
|
||||
store_names = storage.list_backends() if hasattr(storage,
|
||||
"list_backends") else []
|
||||
|
||||
@@ -508,7 +508,7 @@ class Get_Url(Cmdlet):
|
||||
|
||||
# Get backend and retrieve url
|
||||
try:
|
||||
storage = Store(config)
|
||||
storage = BackendRegistry(config)
|
||||
backend = storage[store_name]
|
||||
|
||||
urls = backend.get_url(file_hash)
|
||||
|
||||
Reference in New Issue
Block a user