mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
gatus: simplify endpoint pipeline with attrValues
This commit is contained in:
parent
652a6c4a97
commit
a11072c5c6
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ in
|
|||
];
|
||||
};
|
||||
in
|
||||
cfg.finalEndpoints |> lib.mapAttrsToList (_: value: value) |> lib.map (entry: mkEndpoint entry);
|
||||
cfg.finalEndpoints |> lib.attrValues |> lib.map (entry: mkEndpoint entry);
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue