3
0
Fork 0
forked from mirrors/nixpkgs

Prometheus2: --web.external-url need two dash.

This commit is contained in:
Jean-Baptiste Giraudeau 2019-03-22 23:15:08 +01:00
parent bfbae97cfa
commit 5ae25922b5
No known key found for this signature in database
GPG key ID: E96EF57FD501B961

View file

@ -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 {