Introduce mapNullable into lib and use it in a few places

Also simply some configure flag logic my grep also alerted me too.
This commit is contained in:
John Ericson
2017-04-17 17:04:04 -04:00
parent f3055a3c50
commit 85aa5005af
7 changed files with 18 additions and 14 deletions
@@ -134,7 +134,7 @@ let
};
});
default = null;
apply = x: if x == null then null else _filter x;
apply = x: mapNullable _filter x;
description = ''
Optional http login credentials for metrics scraping.
'';