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
@ -62,8 +62,8 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
listenAddress = mkOption {
|
listenAddress = mkOption {
|
||||||
type = types.nullOr types.str;
|
type = types.str;
|
||||||
default = null;
|
default = "";
|
||||||
description = ''
|
description = ''
|
||||||
Address to listen on for the web interface and API.
|
Address to listen on for the web interface and API.
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user