From 5ae25922b57fb3300a9a3520655122022fe7991e Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Giraudeau Date: Fri, 22 Mar 2019 23:15:08 +0100 Subject: Prometheus2: --web.external-url need two dash. --- nixos/modules/services/monitoring/prometheus/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules') diff --git a/nixos/modules/services/monitoring/prometheus/default.nix b/nixos/modules/services/monitoring/prometheus/default.nix index c2dcf1f3036..4a0e890ee97 100644 --- a/nixos/modules/services/monitoring/prometheus/default.nix +++ b/nixos/modules/services/monitoring/prometheus/default.nix @@ -91,7 +91,7 @@ let "--web.listen-address=${cfg2.listenAddress}" "--alertmanager.notification-queue-capacity=${toString cfg2.alertmanagerNotificationQueueCapacity}" "--alertmanager.timeout=${toString cfg2.alertmanagerTimeout}s" - (optionalString (cfg2.webExternalUrl != null) "-web.external-url=${cfg2.webExternalUrl}") + (optionalString (cfg2.webExternalUrl != null) "--web.external-url=${cfg2.webExternalUrl}") ]; promTypes.globalConfig = types.submodule { -- cgit 1.4.1