Skip to content

Commit

Permalink
Fix potential deadlocks among provider level (#15396)
Browse files Browse the repository at this point in the history
magodo authored Feb 12, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 6c9e824 commit 9743c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/network/network_interface_locking.go
Original file line number Diff line number Diff line change
@@ -13,8 +13,8 @@ type networkInterfaceIPConfigurationLockingDetails struct {
}

func (details networkInterfaceIPConfigurationLockingDetails) lock() {
locks.MultipleByName(&details.subnetNamesToLock, SubnetResourceName)
locks.MultipleByName(&details.virtualNetworkNamesToLock, VirtualNetworkResourceName)
locks.MultipleByName(&details.subnetNamesToLock, SubnetResourceName)
}

func (details networkInterfaceIPConfigurationLockingDetails) unlock() {

0 comments on commit 9743c0f

Please sign in to comment.