Merge pull request #24974 from Ericson2314/mapNullable
Introduce `mapNullable` into lib and use it in a few places
This commit is contained in:
@@ -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.
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user