mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
nixos/prometheus: unbreak alertmanager default config
The current default value of listenAddress = null blows up: $ nixos-rebuild build error: cannot coerce null to a string, at .../nixpkgs/nixos/modules/services/monitoring/prometheus/alertmanager.nix:97:16 With listenAddress = "" we use the same default as upstream and there is no blow up :-)
This commit is contained in:
parent
c24206dc5f
commit
9ec867f59f
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ in {
|
|||
};
|
||||
|
||||
listenAddress = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
type = types.str;
|
||||
default = "";
|
||||
description = ''
|
||||
Address to listen on for the web interface and API.
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue