File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212from starlette .exceptions import HTTPException as StarletteHTTPException
1313
1414from x2s3 .utils import *
15- from x2s3 import registry
15+ from x2s3 import client_registry
1616from x2s3 .settings import get_settings , Target
1717
1818def create_app (settings ):
@@ -55,7 +55,7 @@ async def startup_event():
5555 logger .add (sys .stderr , level = app .settings .log_level )
5656
5757 logger .trace ("Available protocols:" )
58- for proto in registry .available_protocols ():
58+ for proto in client_registry .available_protocols ():
5959 logger .trace (f"- { proto } " )
6060
6161 app .clients = {}
@@ -79,7 +79,7 @@ async def startup_event():
7979 'target_name' : target_name ,
8080 }
8181
82- client = registry .client (target_config .client ,
82+ client = client_registry .client (target_config .client ,
8383 proxy_kwargs , ** target_config .options )
8484
8585 if target_key in app .clients :
File renamed without changes.
You can’t perform that action at this time.
0 commit comments