summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorNeil Lathwood <neil@lathwood.co.uk>2018-04-27 10:55:47 +0100
committerNeil Lathwood <neil@lathwood.co.uk>2018-04-27 10:55:47 +0100
commitc65bbfe28eaafa21e7660b51758fafcdafc42bab (patch)
treeff1b8372744c89e0366b90b9dbdb3a09385dddb0 /lib/oxidized
parent6574f129bca9633d728c178b12e49a2e9be89cdd (diff)
travis fixes
Diffstat (limited to 'lib/oxidized')
-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]