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