File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 18
18
- Additional information about change #1
19
19
-->
20
20
## Upcoming Release
21
+ * Fixed error accessing value that is potentially not set
21
22
22
23
## Version 1.3.1
23
24
* Fixed miscellaneous typos across module
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ public PSKeyVault UpdateVault(
180
180
&& updatedSoftDeleteSwitch . Value )
181
181
properties . EnableSoftDelete = updatedSoftDeleteSwitch ;
182
182
183
- if ( ! ( properties . EnablePurgeProtection . HasValue && properties . EnableSoftDelete . Value )
183
+ if ( ! ( properties . EnablePurgeProtection . HasValue && properties . EnablePurgeProtection . Value )
184
184
&& updatedPurgeProtectionSwitch . HasValue
185
185
&& updatedPurgeProtectionSwitch . Value )
186
186
properties . EnablePurgeProtection = updatedPurgeProtectionSwitch ;
You can’t perform that action at this time.
0 commit comments