We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8b4bcd commit 9514bf6Copy full SHA for 9514bf6
packages/exoframe-client/src/utils/formatServices.js
@@ -61,8 +61,8 @@ export const formatServices = (services) =>
61
services.map((svc) => {
62
const name = svc.Name.slice(1);
63
const deploymentName = svc.Config.Labels['exoframe.deployment'];
64
- const domain = svc.Config.Labels[`traefik.http.routers.${deploymentName}.rule`]
65
- ? formatTraefikRule(svc.Config.Labels[`traefik.http.routers.${deploymentName}.rule`])
+ const domain = svc.Config.Labels[`traefik.http.routers.${name}.rule`]
+ ? formatTraefikRule(svc.Config.Labels[`traefik.http.routers.${name}.rule`])
66
: 'Not set';
67
const networks = svc.NetworkSettings.Networks;
68
const aliases = Object.keys(networks)
0 commit comments