Skip to content

Commit

Permalink
Inline
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaste committed Aug 8, 2022
1 parent a612eff commit 158dd62
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 18 deletions.
15 changes: 6 additions & 9 deletions nix/workbench/docker.nix
Expand Up @@ -80,15 +80,15 @@ let
ByronGenesisFile = "../genesis/byron/genesis.json";
}
// optionalAttrs enableEKG
{
hasEKG = port + supervisord.portShiftEkg;
hasPrometheus = [
"127.0.0.1" (port + supervisord.portShiftPrometheus)
];
(let portShiftEkg = 100;
portShiftPrometheus = 200;
in {
hasEKG = port + portShiftEkg;
hasPrometheus = ["127.0.0.1" (port + portShiftPrometheus)];
setupBackends = [
"EKGViewBK"
];
}
})
);

finaliseNodeArgs =
Expand Down Expand Up @@ -145,9 +145,6 @@ let
inherit
extraSupervisorConfig;

portShiftEkg = 100;
portShiftPrometheus = 200;

## mkSupervisorConf :: Profile -> SupervisorConf
mkSupervisorConf =
profile:
Expand Down
15 changes: 6 additions & 9 deletions nix/workbench/supervisor.nix
Expand Up @@ -80,15 +80,15 @@ let
ByronGenesisFile = "../genesis/byron/genesis.json";
}
// optionalAttrs enableEKG
{
hasEKG = port + supervisord.portShiftEkg;
hasPrometheus = [
"127.0.0.1" (port + supervisord.portShiftPrometheus)
];
(let portShiftEkg = 100;
portShiftPrometheus = 200;
in {
hasEKG = port + portShiftEkg;
hasPrometheus = ["127.0.0.1" (port + portShiftPrometheus)];
setupBackends = [
"EKGViewBK"
];
}
})
);

finaliseNodeArgs =
Expand Down Expand Up @@ -145,9 +145,6 @@ let
inherit
extraSupervisorConfig;

portShiftEkg = 100;
portShiftPrometheus = 200;

## mkSupervisorConf :: Profile -> SupervisorConf
mkSupervisorConf =
profile:
Expand Down

0 comments on commit 158dd62

Please sign in to comment.