We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69a240d commit 3e0f570Copy full SHA for 3e0f570
internal/apm/agent_configuration/read.go
@@ -34,7 +34,6 @@ func (r *resourceAgentConfiguration) Read(ctx context.Context, req resource.Read
34
resp.Diagnostics.AddError("Failed to get APM agent configurations", err.Error())
35
return
36
}
37
- defer apiResp.Body.Close()
38
if diags := utils.CheckHttpErrorFromFW(apiResp.HTTPResponse, "Failed to get APM agent configurations"); diags.HasError() {
39
resp.Diagnostics.Append(diags...)
40
0 commit comments