From 7c02a230dc970c2946770f6893e35c627b6b1ec0 Mon Sep 17 00:00:00 2001 From: Wild Kat Date: Wed, 12 Sep 2018 11:23:45 +0200 Subject: add a new line after guard clauses for better visual flow (#1520) --- lib/oxidized/worker.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/oxidized/worker.rb') diff --git a/lib/oxidized/worker.rb b/lib/oxidized/worker.rb index 3fc1cee..dd9a3bf 100644 --- a/lib/oxidized/worker.rb +++ b/lib/oxidized/worker.rb @@ -28,6 +28,7 @@ module Oxidized # shift nodes and get the next node node = @nodes.get node.running? ? next : node.running = true + @jobs.push Job.new node Oxidized.logger.debug "lib/oxidized/worker.rb: Added #{node.group}/#{node.name} to the job queue" end -- cgit v1.2.1