We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f0b91ca + 9f76015 commit 24b230eCopy full SHA for 24b230e
src/ResourceManager/RecoveryServices/Commands.RecoveryServices/Utilities/Utilities.cs
@@ -128,11 +128,7 @@ public static void UpdateCurrentVaultContext(ASRVaultCreds arsVaultCreds)
128
/// <param name="arsVault">ARS Vault</param>
129
public static void UpdateCurrentVaultContext(ARSVault arsVault)
130
{
131
- object updateVaultContextOneAtATime = new object();
132
- lock (updateVaultContextOneAtATime)
133
- {
134
- PSRecoveryServicesClient.arsVault = arsVault;
135
- }
+ PSRecoveryServicesClient.arsVault = arsVault;
136
}
137
138
/// <summary>
0 commit comments