Skip to content

Commit 9732dcb

Browse files
committed
Fix lint error
1 parent 46f04e6 commit 9732dcb

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(api.FunctionV1(function))
203+
state.Fill(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)