From 3a9bb8d350bc8ad04440b1de01400e257e338429 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 16 Oct 2024 01:13:51 +0200 Subject: [PATCH] add debug logs for getAuthForDockerImage --- swarmgate/routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarmgate/routes.ts b/swarmgate/routes.ts index 3e24ab0..9452159 100644 --- a/swarmgate/routes.ts +++ b/swarmgate/routes.ts @@ -50,7 +50,7 @@ try { console.error(`Failed to load registry auth overrides: ${error.message}`); } -function getRegistryFromDockerImage(image) { +function getRegistryFromDockerImage(image: string): string { const parts = image.split('/'); if (parts.length < 2) { return '';