lib/kitchen/command.rb in test-kitchen-1.20.0 vs lib/kitchen/command.rb in test-kitchen-1.21.0
- old
+ new
@@ -163,10 +163,10 @@
threads = []
@action_errors = []
concurrency.times do
threads << Thread.new do
- while instance = queue.pop
+ while (instance = queue.pop)
run_action_in_thread(action, instance, *args)
end
end
end
threads.map(&:join)