mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -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 {
|
if len(values) == 0 {
|
||||||
return cty.ListValEmpty(cty.DynamicPseudoType), nil
|
return cty.ListValEmpty(retType), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return cty.ListVal(values), nil
|
return cty.ListVal(values), nil
|
||||||
|
Loading…
Reference in New Issue
Block a user