bolt-modules/boltlib/lib/puppet/functions/run_command.rb in bolt-1.21.0 vs bolt-modules/boltlib/lib/puppet/functions/run_command.rb in bolt-1.22.0

- old
+ new

@@ -50,10 +50,10 @@ options ||= {} options = options.merge('_description' => description) if description executor = Puppet.lookup(:bolt_executor) inventory = Puppet.lookup(:bolt_inventory) - executor.report_function_call('run_command') + executor.report_function_call(self.class.name) # Ensure that given targets are all Target instances targets = inventory.get_targets(targets) if targets.empty?