From 37ef9b055c9bd0504bb969f91ed35588cacc6002 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Fri, 14 Mar 2014 20:48:49 +0200 Subject: Update to match the new sinatra/puma API --- extra/rest_client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extra/rest_client.rb') 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 -- cgit v1.2.1