Skip to content

Commit fe99bc3

Browse files
committed
Simplify codes in VaultManagementClient.cs.
1 parent 33d4bc6 commit fe99bc3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/KeyVault/KeyVault/Models/VaultManagementClient.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,7 @@ public PSKeyVault UpdateVault(
196196
properties.EnablePurgeProtection = updatedPurgeProtectionSwitch;
197197

198198
// Update EnableRbacAuthorization when specified, otherwise stay current value
199-
if (updatedRbacAuthorization.HasValue)
200-
properties.EnableRbacAuthorization = updatedRbacAuthorization;
199+
properties.EnableRbacAuthorization = updatedRbacAuthorization;
201200

202201
properties.AccessPolicies = (updatedPolicies == null) ?
203202
new List<AccessPolicyEntry>() :

0 commit comments

Comments
 (0)