diff --git a/internal/services/network/network_interface_locking.go b/internal/services/network/network_interface_locking.go index add8ea380a7a..27b6997d35a9 100644 --- a/internal/services/network/network_interface_locking.go +++ b/internal/services/network/network_interface_locking.go @@ -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() {