diff options
author | Anton Kvashenkin <ak@gfoil.ru> | 2018-09-08 13:24:24 +0300 |
---|---|---|
committer | Anton Kvashenkin <ak@gfoil.ru> | 2018-09-08 13:24:24 +0300 |
commit | 768632031bfe736a373d6c915732c4003f666e24 (patch) | |
tree | 90e16f27ec7c67324bdfc0ebb7c179857e8bdcce | |
parent | 030ccf713d832ddcb7c1965700033a9536fe922a (diff) | |
download | ohai-768632031bfe736a373d6c915732c4003f666e24.tar.gz |
Chefstyle fix
Signed-off-by: Anton Kvashenkin <anton.jugatsu@gmail.com>
-rw-r--r-- | lib/ohai/plugins/root_group.rb | 2 |
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) |