summaryrefslogtreecommitdiff
path: root/lib/oxidized/nodes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/nodes.rb')
-rw-r--r--lib/oxidized/nodes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/nodes.rb b/lib/oxidized/nodes.rb
index 0d9fb47..eab2b1d 100644
--- a/lib/oxidized/nodes.rb
+++ b/lib/oxidized/nodes.rb
@@ -52,6 +52,8 @@ module Oxidized
n.user = opt['user']
n.msg = opt['msg']
n.from = opt['from']
+ # set last job to nil so that the node is picked for immediate update
+ n.last = nil
put n
end
end