diff options
author | Saku Ytti <saku@ytti.fi> | 2014-03-14 20:48:49 +0200 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-03-14 20:48:49 +0200 |
commit | 37ef9b055c9bd0504bb969f91ed35588cacc6002 (patch) | |
tree | aa0e8717543a777baad154e9b2672c26cb5d2e94 /extra/rest_client.rb | |
parent | c045382479da3ec369e54bab678056cad804a343 (diff) |
Update to match the new sinatra/puma API
Diffstat (limited to 'extra/rest_client.rb')
-rw-r--r-- | extra/rest_client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/rest_client.rb b/extra/rest_client.rb index 19f2439..a16bd42 100644 --- a/extra/rest_client.rb +++ b/extra/rest_client.rb @@ -18,7 +18,7 @@ module Oxidized def next opt data = JSON.dump opt - @web.put '/nodes/next/' + opt[:name].to_s, data + @web.put '/node/next/' + opt[:name].to_s, data end end |