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

- old
+ new

@@ -23,10 +23,10 @@ def get_targets(names) inventory = Puppet.lookup(:bolt_inventory) # Bolt executor not expected when invoked from apply block executor = Puppet.lookup(:bolt_executor) { nil } - executor&.report_function_call('get_targets') + executor&.report_function_call(self.class.name) inventory.get_targets(names) end end