Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
deanhuynh committed Sep 9, 2024
1 parent 46f04e6 commit 9732dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/function_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (r *functionResource) Read(ctx context.Context, req resource.ReadRequest, r
var state models.FunctionState

function := response.Data.GetFunction()
state.Fill(api.FunctionV1(function))
state.Fill(function)

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

0 comments on commit 9732dcb

Please sign in to comment.