summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Hellewell <sshock@gmail.com>2019-12-30 23:36:47 -0700
committerPhillip Hellewell <sshock@gmail.com>2019-12-31 01:11:40 -0700
commitdd994a596750c6061c744392fc01840d25e9e69e (patch)
tree3d59335c7ecaa9691c67dc20197f4ac3c1f38378
parent03d2b992fc39d99f531b628bdc4ea5bb4a8b0d0d (diff)
downloadohai-dd994a596750c6061c744392fc01840d25e9e69e.tar.gz
update comments
Signed-off-by: Phillip Hellewell <sshock@gmail.com>
-rw-r--r--lib/ohai/plugins/filesystem.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ohai/plugins/filesystem.rb b/lib/ohai/plugins/filesystem.rb
index f81d1ada..9dfcc719 100644
--- a/lib/ohai/plugins/filesystem.rb
+++ b/lib/ohai/plugins/filesystem.rb
@@ -173,7 +173,7 @@ Ohai.plugin(:Filesystem) do
# Returns a Mash loaded with logical details
#
- # Uses Win32_LogicalDisk and logical_properties to return encryption details of volumes.
+ # Uses Win32_LogicalDisk and logical_properties to return general details of volumes.
#
# Returns an empty Mash in case of any WMI exception.
#
@@ -184,7 +184,7 @@ Ohai.plugin(:Filesystem) do
def logical_info
wmi = WmiLite::Wmi.new("Root\\CIMV2")
- # Note: we should really be parsing Win32_Volume and Win32_Mapped drive.
+ # TODO: We should really be parsing Win32_Volume and Win32_MountPoint.
disks = wmi.instances_of("Win32_LogicalDisk")
logical_properties(disks)
rescue WmiLite::WmiException