Skip to content

Commit

Permalink
Merge pull request #13 from neuroforgede/wip/setup_registry_auth#main
Browse files Browse the repository at this point in the history
add debug logs for registry auth
  • Loading branch information
s4ke authored Aug 9, 2024
2 parents ab931b2 + ee5fa7d commit 50100fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions swarmgate/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export function setupRoutes(tenantLabelValue: string) {
}
}
}
console.log("using registry auth", req.headers['x-registry-auth']);
} catch (err) {
console.error("Failed injecting registry auth into headers", err);
res.writeHead(500);
Expand Down Expand Up @@ -182,6 +183,7 @@ export function setupRoutes(tenantLabelValue: string) {
serveraddress: registryAuth.serveraddress!,
email: registryAuth.email,
})).toString("base64url");
console.log("using registry auth", headers['x-registry-auth']);
}

const options = {
Expand Down

0 comments on commit 50100fc

Please sign in to comment.