lib/ohai/plugins/windows/filesystem.rb in ohai-15.0.35 vs lib/ohai/plugins/windows/filesystem.rb in ohai-15.1.3
- old
+ new
@@ -21,10 +21,10 @@
# Volume encryption or decryption status
#
# @see https://docs.microsoft.com/en-us/windows/desktop/SecProv/getconversionstatus-win32-encryptablevolume#parameters
#
- CONVERSION_STATUS = %w{FullyDecrypted FullyEncrypted EncryptionInProgress
+ CONVERSION_STATUS ||= %w{FullyDecrypted FullyEncrypted EncryptionInProgress
DecryptionInProgress EncryptionPaused DecryptionPaused}.freeze
# Returns a Mash loaded with logical details
#
# Uses Win32_LogicalDisk and logical_properties to return encryption details of volumes.