Skip to content

Commit eb56218

Browse files
authored
removed lock on lb while lb pool creation (IBM-Cloud#5523)
1 parent 1155616 commit eb56218

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ibm/service/vpc/resource_ibm_is_lb_pool.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,6 @@ func resourceIBMISLBPoolCreate(d *schema.ResourceData, meta interface{}) error {
279279
if hmp, ok := d.GetOk(isLBPoolHealthMonitorPort); ok {
280280
healthMonitorPort = int64(hmp.(int))
281281
}
282-
isLBKey := "load_balancer_key_" + lbID
283-
conns.IbmMutexKV.Lock(isLBKey)
284-
defer conns.IbmMutexKV.Unlock(isLBKey)
285282

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

0 commit comments

Comments
 (0)