forked from DGNum/infrastructure
feat(monitoring): Add adminGroup emails
This commit is contained in:
parent
bfeaa18530
commit
2329799c87
1 changed files with 5 additions and 1 deletions
|
@ -16,7 +16,11 @@ let
|
|||
;
|
||||
|
||||
emails = concatStringsSep ", " (
|
||||
builtins.map (name: meta.organization.members.${name}.email) nodeMeta.admins
|
||||
builtins.map (name: meta.organization.members.${name}.email) (
|
||||
builtins.foldl' (
|
||||
admins: group: admins ++ meta.organization.groups.${group}
|
||||
) nodeMeta.admins nodeMeta.adminGroups
|
||||
)
|
||||
);
|
||||
|
||||
cfg = config.dgn-notify;
|
||||
|
|
Loading…
Reference in a new issue