Skip to content

Commit

Permalink
removed lock on lb while lb pool creation (IBM-Cloud#5523)
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwal-ibm authored Aug 20, 2024
1 parent 1155616 commit eb56218
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ibm/service/vpc/resource_ibm_is_lb_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,6 @@ func resourceIBMISLBPoolCreate(d *schema.ResourceData, meta interface{}) error {
if hmp, ok := d.GetOk(isLBPoolHealthMonitorPort); ok {
healthMonitorPort = int64(hmp.(int))
}
isLBKey := "load_balancer_key_" + lbID
conns.IbmMutexKV.Lock(isLBKey)
defer conns.IbmMutexKV.Unlock(isLBKey)

err := lbPoolCreate(d, meta, name, lbID, algorithm, protocol, healthType, spType, cName, healthMonitorURL, pProtocol, healthDelay, maxRetries, healthTimeOut, healthMonitorPort)
if err != nil {
Expand Down

0 comments on commit eb56218

Please sign in to comment.