From e749fda528d4ec0ecb746d7e855562d9afc41f15 Mon Sep 17 00:00:00 2001 From: William Yeung Date: Sat, 15 Jul 2017 14:27:07 +0800 Subject: [PATCH] updated method comments --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index e65c36a..8a54aaa 100644 --- a/index.js +++ b/index.js @@ -291,10 +291,11 @@ HAProxy.prototype.enable = function enable(backend, server, fn) { }; /** - * Set the server attribute + * Set the server state to [ ready / maint / drain ] * * @param {String} backend Name of the backend server. * @param {String} server The server that needs to be disabled in the backend. + * @param {String} newState new state for the server [ ready / maint / drain ] * @param {Function} fn Callback. * @api public */