diff options
Diffstat (limited to 'chef-utils/lib/chef-utils/parallel_map.rb')
-rw-r--r-- | chef-utils/lib/chef-utils/parallel_map.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-utils/lib/chef-utils/parallel_map.rb b/chef-utils/lib/chef-utils/parallel_map.rb index abc8279cc5..3c1be22006 100644 --- a/chef-utils/lib/chef-utils/parallel_map.rb +++ b/chef-utils/lib/chef-utils/parallel_map.rb @@ -45,7 +45,7 @@ module ChefUtils pool ||= ChefUtils::DefaultThreadPool.instance.pool futures = map do |item| - future = Concurrent::Future.execute(executor: pool) do + Concurrent::Future.execute(executor: pool) do yield item end end |