summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 465713e..24f52aa 100644
--- a/lib/oxidized/nodes.rb
+++ b/lib/oxidized/nodes.rb
@@ -96,7 +96,7 @@ module Oxidized
super()
node = opts.delete :node
@mutex= Mutex.new # we compete for the nodes with webapi thread
- if nodes = opts.delete :nodes
+ if nodes = opts.delete(:nodes)
replace nodes
else
load node