Skip to content

Commit

Permalink
Indent
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaste committed Aug 8, 2022
1 parent 40a6b62 commit a612eff
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 22 deletions.
28 changes: 17 additions & 11 deletions nix/workbench/docker.nix
Expand Up @@ -73,17 +73,23 @@ let

finaliseNodeConfig =
{ port, ... }: cfg: recursiveUpdate cfg
({
AlonzoGenesisFile = "../genesis/genesis.alonzo.json";
ShelleyGenesisFile = "../genesis/genesis-shelley.json";
ByronGenesisFile = "../genesis/byron/genesis.json";
} // optionalAttrs enableEKG {
hasEKG = port + dockerd.portShiftEkg;
hasPrometheus = [ "127.0.0.1" (port + dockerd.portShiftPrometheus) ];
setupBackends = [
"EKGViewBK"
];
});
(
{
AlonzoGenesisFile = "../genesis/genesis.alonzo.json";
ShelleyGenesisFile = "../genesis/genesis-shelley.json";
ByronGenesisFile = "../genesis/byron/genesis.json";
}
// optionalAttrs enableEKG
{
hasEKG = port + supervisord.portShiftEkg;
hasPrometheus = [
"127.0.0.1" (port + supervisord.portShiftPrometheus)
];
setupBackends = [
"EKGViewBK"
];
}
);

finaliseNodeArgs =
profile: nodeSpec: args: args;
Expand Down
28 changes: 17 additions & 11 deletions nix/workbench/supervisor.nix
Expand Up @@ -73,17 +73,23 @@ let

finaliseNodeConfig =
{ port, ... }: cfg: recursiveUpdate cfg
({
AlonzoGenesisFile = "../genesis/genesis.alonzo.json";
ShelleyGenesisFile = "../genesis/genesis-shelley.json";
ByronGenesisFile = "../genesis/byron/genesis.json";
} // optionalAttrs enableEKG {
hasEKG = port + supervisord.portShiftEkg;
hasPrometheus = [ "127.0.0.1" (port + supervisord.portShiftPrometheus) ];
setupBackends = [
"EKGViewBK"
];
});
(
{
AlonzoGenesisFile = "../genesis/genesis.alonzo.json";
ShelleyGenesisFile = "../genesis/genesis-shelley.json";
ByronGenesisFile = "../genesis/byron/genesis.json";
}
// optionalAttrs enableEKG
{
hasEKG = port + supervisord.portShiftEkg;
hasPrometheus = [
"127.0.0.1" (port + supervisord.portShiftPrometheus)
];
setupBackends = [
"EKGViewBK"
];
}
);

finaliseNodeArgs =
profile: nodeSpec: args: args;
Expand Down

0 comments on commit a612eff

Please sign in to comment.