prometheus service: fix basic auth option

If some configuration is provided, we need to filter out the `_module` key or
else it breaks prometheus.
This commit is contained in:
Tanner Doshier 2017-02-14 13:45:00 -06:00
parent c34a52bf5d
commit b846ce5243

View File

@ -134,6 +134,7 @@ let
};
});
default = null;
apply = x: if x == null then null else _filter x;
description = ''
Optional http login credentials for metrics scraping.
'';