Skip to content

Commit 3e0f570

Browse files
tobiodimuon
andauthored
Update internal/apm/agent_configuration/read.go
Co-authored-by: Dmitry Onishchenko <[email protected]>
1 parent 69a240d commit 3e0f570

File tree

1 file changed

+0
-1
lines changed
  • internal/apm/agent_configuration

1 file changed

+0
-1
lines changed

internal/apm/agent_configuration/read.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ func (r *resourceAgentConfiguration) Read(ctx context.Context, req resource.Read
3434
resp.Diagnostics.AddError("Failed to get APM agent configurations", err.Error())
3535
return
3636
}
37-
defer apiResp.Body.Close()
3837
if diags := utils.CheckHttpErrorFromFW(apiResp.HTTPResponse, "Failed to get APM agent configurations"); diags.HasError() {
3938
resp.Diagnostics.Append(diags...)
4039
return

0 commit comments

Comments
 (0)