diff options
author | Neil Lathwood <neil@lathwood.co.uk> | 2018-04-27 10:55:47 +0100 |
---|---|---|
committer | Neil Lathwood <neil@lathwood.co.uk> | 2018-04-27 10:55:47 +0100 |
commit | c65bbfe28eaafa21e7660b51758fafcdafc42bab (patch) | |
tree | ff1b8372744c89e0366b90b9dbdb3a09385dddb0 | |
parent | 6574f129bca9633d728c178b12e49a2e9be89cdd (diff) |
travis fixes
-rw-r--r-- | lib/oxidized/source/http.rb | 2 | ||||
-rw-r--r-- | lib/oxidized/source/sql.rb | 2 |
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] |