summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-03-14 20:48:49 +0200
committerSaku Ytti <saku@ytti.fi>2014-03-14 20:48:49 +0200
commit37ef9b055c9bd0504bb969f91ed35588cacc6002 (patch)
treeaa0e8717543a777baad154e9b2672c26cb5d2e94 /extra
parentc045382479da3ec369e54bab678056cad804a343 (diff)
Update to match the new sinatra/puma API
Diffstat (limited to 'extra')
-rw-r--r--extra/rest_client.rb2
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