Skip to content

Commit

Permalink
[CWS-1047] - Rmv lock on read
Browse files Browse the repository at this point in the history
  • Loading branch information
Malo10LeGoff committed Mar 20, 2024
1 parent b8ea6ff commit eab030f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions datadog/fwprovider/resource_datadog_csm_threats_agent_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ func (r *csmThreatsAgentRuleResource) Read(ctx context.Context, request resource
return
}

csmThreatsMutex.Lock()
defer csmThreatsMutex.Unlock()

agentRuleId := state.Id.ValueString()
res, httpResponse, err := r.api.GetCSMThreatsAgentRule(r.auth, agentRuleId)
if err != nil {
Expand Down

0 comments on commit eab030f

Please sign in to comment.