Skip to content

Commit a03aec1

Browse files
committed
Fix type issue
1 parent 92946eb commit a03aec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/provider/function_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func (r *functionResource) Read(ctx context.Context, req resource.ReadRequest, r
200200
var state models.FunctionState
201201

202202
function := response.Data.GetFunction()
203-
state.Fill(function)
203+
state.Fill(api.FunctionV1(function))
204204

205205
// Destination functions append workspace name to display name causing inconsistency
206206
if state.ResourceType.ValueString() == "DESTINATION" || state.ResourceType.ValueString() == "INSERT_DESTINATION" {

0 commit comments

Comments
 (0)