diff --git a/src/im_mad/remotes/dummy-probes.d/vm/monitor/monitor.rb b/src/im_mad/remotes/dummy-probes.d/vm/monitor/monitor.rb index 65fd23e07b..74a331d4de 100755 --- a/src/im_mad/remotes/dummy-probes.d/vm/monitor/monitor.rb +++ b/src/im_mad/remotes/dummy-probes.d/vm/monitor/monitor.rb @@ -41,7 +41,7 @@ def unindent(s) s.gsub!(/^ {#{spaces}}/, '') end -hid = ARGV[1] +hid = ARGV[1] _hname = ARGV[2] client = OpenNebula::Client.new @@ -91,3 +91,5 @@ vmpool.each do |vm| end puts result + +# rubocop:enable Layout/ArgumentAlignment diff --git a/src/im_mad/remotes/node-probes.d/numa_host.rb b/src/im_mad/remotes/node-probes.d/numa_host.rb index 309ffb46f0..65c5afbad2 100755 --- a/src/im_mad/remotes/node-probes.d/numa_host.rb +++ b/src/im_mad/remotes/node-probes.d/numa_host.rb @@ -18,6 +18,7 @@ require_relative '../../../lib/numa_common' +# This module extracts NUMA information from a host for firecracker module NUMA def self.node_to_template(node, nid) @@ -78,7 +79,8 @@ module NUMA core_id = File.read("#{core_path}/core_id").chomp - nodes[node_id]['cores'] << {'id' => core_id, 'cpus' => siblings} + nodes[node_id]['cores'] << { 'id' => core_id, + 'cpus' => siblings } rescue StandardError next end