summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2017-01-12 15:45:12 +0200
committerNat Morris <nat@netflix.com>2017-02-10 19:30:02 +0000
commit64fc260a4da53af34f1f8288d4ec68c6583907ee (patch)
treeab4825f4bc6a79a48bedd7fe92fc36eeafb513f2 /lib
parent8c304a2f6e43f41fa58ab1f04cc2fbfc39299b15 (diff)
fix /next guard
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/nodes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/nodes.rb b/lib/oxidized/nodes.rb
index 72a2dc4..6751c7a 100644
--- a/lib/oxidized/nodes.rb
+++ b/lib/oxidized/nodes.rb
@@ -73,7 +73,7 @@ module Oxidized
# set last job to nil so that the node is picked for immediate update
n.last = nil
put n
- jobs.want += 1 if Config.next_adds_job
+ jobs.want += 1 if Oxidized.config.next_adds_job?
end
end
end