summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/oxidized/source/http.rb2
-rw-r--r--lib/oxidized/source/sql.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/source/http.rb b/lib/oxidized/source/http.rb
index 6d7dce3..55dcd4c 100644
--- a/lib/oxidized/source/http.rb
+++ b/lib/oxidized/source/http.rb
@@ -15,7 +15,7 @@ module Oxidized
require "uri"
require "json"
- def load node_want=nil
+ def load node_want = nil
nodes = []
uri = URI.parse(@cfg.url)
http = Net::HTTP.new(uri.host, uri.port)
diff --git a/lib/oxidized/source/sql.rb b/lib/oxidized/source/sql.rb
index dfcd7b4..8d321a0 100644
--- a/lib/oxidized/source/sql.rb
+++ b/lib/oxidized/source/sql.rb
@@ -18,7 +18,7 @@ module Oxidized
end
end
- def load node_want=nill
+ def load node_want = nil
nodes = []
db = connect
query = db[@cfg.table.to_sym]