summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-04-22 12:49:42 +0300
committerSaku Ytti <saku@ytti.fi>2014-04-22 12:49:42 +0300
commit723baec6cb89b1a129b3db5f3df2c5a986a8be5c (patch)
tree63ed37f094f671ebd74d17f45d7948c1850f6383
parente702fdb9d88e8b6d34f3740de9f10f5e9d3030be (diff)
missing paranthesis
-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