Skip to content

Commit

Permalink
add debug logs for getAuthForDockerImage
Browse files Browse the repository at this point in the history
  • Loading branch information
s4ke committed Oct 15, 2024
1 parent 320df38 commit 3a9bb8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swarmgate/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 '';
Expand Down

0 comments on commit 3a9bb8d

Please sign in to comment.