summaryrefslogtreecommitdiff
path: root/lib/ohai/plugins/linux/filesystem.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ohai/plugins/linux/filesystem.rb')
-rw-r--r--lib/ohai/plugins/linux/filesystem.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ohai/plugins/linux/filesystem.rb b/lib/ohai/plugins/linux/filesystem.rb
index 4ed8ede0..a0f1a159 100644
--- a/lib/ohai/plugins/linux/filesystem.rb
+++ b/lib/ohai/plugins/linux/filesystem.rb
@@ -133,7 +133,7 @@ Ohai.plugin(:Filesystem) do
unless Ohai.config[:plugin][:filesystem][:allow_partial_data]
raise e
end
- Ohai::Log.warn("Plugin Filesystem: df binary is not available. Some data will not be available.")
+ logger.warn("Plugin Filesystem: df binary is not available. Some data will not be available.")
end
# Grab mount information from /bin/mount
@@ -153,7 +153,7 @@ Ohai.plugin(:Filesystem) do
unless Ohai.config[:plugin][:filesystem][:allow_partial_data]
raise e
end
- Ohai::Log.warn("Plugin Filesystem: mount binary is not available. Some data will not be available.")
+ logger.warn("Plugin Filesystem: mount binary is not available. Some data will not be available.")
end
# We used to try to decide if we wanted to run lsblk or blkid