gatus: Minor code cleanup

This commit is contained in:
SebastianStork 2025-10-17 17:32:59 +02:00
parent ac48782b56
commit aa7cd9f8db
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q

View file

@ -139,7 +139,7 @@ in
settings = { settings = {
web = { web = {
address = "localhost"; address = "localhost";
port = cfg.port; inherit (cfg) port;
}; };
storage = { storage = {
type = "sqlite"; type = "sqlite";
@ -199,7 +199,7 @@ in
]; ];
}; };
in in
cfg.endpoints |> lib.attrValues |> lib.map (entry: mkEndpoint entry); cfg.endpoints |> lib.attrValues |> lib.map mkEndpoint;
}; };
}; };