mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
functions: ValuesFunc - cleanup return type
This commit is contained in:
parent
a213c4a648
commit
0dbecc54c0
@ -856,7 +856,7 @@ var ValuesFunc = function.New(&function.Spec{
|
||||
}
|
||||
|
||||
if len(values) == 0 {
|
||||
return cty.ListValEmpty(cty.DynamicPseudoType), nil
|
||||
return cty.ListValEmpty(retType), nil
|
||||
}
|
||||
|
||||
return cty.ListVal(values), nil
|
||||
|
Loading…
Reference in New Issue
Block a user