lang: funcs: Rename the lookup functions
This will make things more consistent with future use.
This commit is contained in:
@@ -15,7 +15,7 @@ $t = sys.hasenv("TEST")
|
||||
$f = sys.hasenv("DOESNOTEXIST")
|
||||
|
||||
$env = sys.env()
|
||||
$m = maplookup($env, "TEST", "321")
|
||||
$m = map_lookup_optional($env, "TEST", "321")
|
||||
|
||||
file "${tmpdir}/environ" {
|
||||
state => $const.res.file.state.exists,
|
||||
|
||||
Reference in New Issue
Block a user