mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update github.com/zclconf/go-cty to v1.14.4
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
4
vendor/github.com/zclconf/go-cty/cty/function/stdlib/collection.go
generated
vendored
4
vendor/github.com/zclconf/go-cty/cty/function/stdlib/collection.go
generated
vendored
@ -1506,8 +1506,8 @@ func Keys(inputMap cty.Value) (cty.Value, error) {
|
||||
}
|
||||
|
||||
// Lookup performs a dynamic lookup into a map.
|
||||
// There are two required arguments, map and key, plus an optional default,
|
||||
// which is a value to return if no key is found in map.
|
||||
// There are three required arguments, inputMap and key, plus a defaultValue,
|
||||
// which is a value to return if the given key is not found in the inputMap.
|
||||
func Lookup(inputMap, key, defaultValue cty.Value) (cty.Value, error) {
|
||||
return LookupFunc.Call([]cty.Value{inputMap, key, defaultValue})
|
||||
}
|
||||
|
Reference in New Issue
Block a user