Skip to content

Commit 6aa1350

Browse files
committed
sonarcloud: use a specific name
1 parent 83148bd commit 6aa1350

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/settings-library/src/settings_library/docker_registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def api_url(self) -> str:
6363
return f"{self.REGISTRY_URL}/v2"
6464

6565
@cached_property
66-
def registry_url(self) -> AnyHttpUrl:
66+
def registry_url_for_docker_engine(self) -> AnyHttpUrl:
6767
"""returns the full URL to the Docker Registry for use by docker engine"""
6868
protocol = "https" if self.REGISTRY_SSL else "http"
6969
return TypeAdapter(AnyHttpUrl).validate_python(

services/director/src/simcore_service_director/registry_proxy.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ async def _basic_auth_registry_request(
6868
else None
6969
)
7070

71-
request_url = URL(f"{app_settings.DIRECTOR_REGISTRY.registry_url}").with_path(
72-
path, encoded=True
73-
)
71+
request_url = URL(
72+
f"{app_settings.DIRECTOR_REGISTRY.registry_url_for_docker_engine}"
73+
).with_path(path, encoded=True)
7474

7575
session = get_client_session(app)
7676
response = await session.request(

0 commit comments

Comments
 (0)