summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Kvashenkin <ak@gfoil.ru>2018-09-08 13:24:24 +0300
committerAnton Kvashenkin <ak@gfoil.ru>2018-09-08 13:24:24 +0300
commit768632031bfe736a373d6c915732c4003f666e24 (patch)
tree90e16f27ec7c67324bdfc0ebb7c179857e8bdcce
parent030ccf713d832ddcb7c1965700033a9536fe922a (diff)
downloadohai-768632031bfe736a373d6c915732c4003f666e24.tar.gz
Chefstyle fix
Signed-off-by: Anton Kvashenkin <anton.jugatsu@gmail.com>
-rw-r--r--lib/ohai/plugins/root_group.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/root_group.rb b/lib/ohai/plugins/root_group.rb
index 06bb2836..8b290987 100644
--- a/lib/ohai/plugins/root_group.rb
+++ b/lib/ohai/plugins/root_group.rb
@@ -24,7 +24,7 @@ Ohai.plugin(:RootGroup) do
# @return [String]
#
def wmi_property_from_query(wmi_property, wmi_query)
- @wmi = ::WIN32OLE.connect('winmgmts://')
+ @wmi = ::WIN32OLE.connect("winmgmts://")
result = @wmi.ExecQuery(wmi_query)
return nil unless result.each.count > 0
result.each.next.send(wmi_property)