summaryrefslogtreecommitdiff
path: root/lib/oxidized/worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/worker.rb')
-rw-r--r--lib/oxidized/worker.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/worker.rb b/lib/oxidized/worker.rb
index 6966322..14cf2a5 100644
--- a/lib/oxidized/worker.rb
+++ b/lib/oxidized/worker.rb
@@ -26,8 +26,8 @@ module Oxidized
msg = "update #{node.name}"
msg += " from #{node.from}" if node.from
msg += " with message '#{node.msg}'" if node.msg
- node.output.new.update node.name, job.config,
- :msg => msg, :user => node.user, :group => node.group
+ node.output.new.store node.name, job.config,
+ :msg => msg, :user => node.user, :group => node.group
node.reset
else
Log.warn "#{node.name} status #{job.status}"