diff options
author | Tim Smith <tsmith@chef.io> | 2019-05-03 14:43:23 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-06-03 13:45:40 -0700 |
commit | f746b1205f5c4c6e7411629f873446b8345598cd (patch) | |
tree | 7c29b1f57f8b70416d11aed22ec1ef7beb34aea7 | |
parent | d71f5d5b4933bd8537f289dfdceeb1c60b360d2a (diff) | |
download | ohai-f746b1205f5c4c6e7411629f873446b8345598cd.tar.gz |
Avoid constant warnings in windows/filesystem plugin
This is very noisy in DK specs.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/ohai/plugins/windows/filesystem.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/windows/filesystem.rb b/lib/ohai/plugins/windows/filesystem.rb index ef9bce73..db7e9119 100644 --- a/lib/ohai/plugins/windows/filesystem.rb +++ b/lib/ohai/plugins/windows/filesystem.rb @@ -24,7 +24,7 @@ Ohai.plugin(:Filesystem) do # @see https://docs.microsoft.com/en-us/windows/desktop/SecProv/getconversionstatus-win32-encryptablevolume#parameters # CONVERSION_STATUS = %w{FullyDecrypted FullyEncrypted EncryptionInProgress - DecryptionInProgress EncryptionPaused DecryptionPaused}.freeze + DecryptionInProgress EncryptionPaused DecryptionPaused}.freeze unless defined?(CONVERSION_STATUS) # Returns a Mash loaded with logical details # |