diff --git a/lib/agent.js b/lib/agent.js index 34d7c0d..5b29ced 100644 --- a/lib/agent.js +++ b/lib/agent.js @@ -214,7 +214,7 @@ Agent.prototype.failCheck = function (checkId, opts, done) { Agent.prototype.registerService = function (service, opts, done) { if ('function' == typeof opts) done = opts, opts = null; - this.requestor.get('service/register', service, opts, done); + this.requestor.put('service/register', service, opts, done); }; /**