From 723baec6cb89b1a129b3db5f3df2c5a986a8be5c Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Tue, 22 Apr 2014 12:49:42 +0300 Subject: missing paranthesis --- lib/oxidized/nodes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.1