diff options
author | Saku Ytti <saku@ytti.fi> | 2014-02-28 23:20:23 +0200 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-02-28 23:20:23 +0200 |
commit | b0c6086256522ad1a7403937968184cab7f89d0c (patch) | |
tree | 6579559414c845c4401fb0e7ebbe0c59d3df6a82 | |
parent | 940a16eaaa6bca8d9af1273fc0d405b42c0b7ec8 (diff) |
Remove useless initialization
-rw-r--r-- | Gemfile.lock | 2 | ||||
-rw-r--r-- | lib/oxidized/nodes.rb | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index 6d22af9..e40712b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - oxidized (0.0.29) + oxidized (0.0.30) grit haml net-ssh diff --git a/lib/oxidized/nodes.rb b/lib/oxidized/nodes.rb index 4cdbfbb..9a3d3bd 100644 --- a/lib/oxidized/nodes.rb +++ b/lib/oxidized/nodes.rb @@ -11,7 +11,6 @@ module Oxidized @source = CFG.source[:default] Oxidized.mgr.source = @source Oxidized.mgr.source[@source].new.load.each do |node| - n = nil begin n = Node.new node rescue LoadError => err |