Merge pull request #24974 from Ericson2314/mapNullable

Introduce `mapNullable` into lib and use it in a few places
This commit is contained in:
John Ericson
2017-04-17 17:12:14 -04:00
committed by GitHub
7 changed files with 18 additions and 14 deletions
@@ -141,7 +141,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.
'';