summaryrefslogtreecommitdiff
path: root/extra/rest_client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rest_client.rb')
-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