Skip to content

Commit

Permalink
updated method comments
Browse files Browse the repository at this point in the history
  • Loading branch information
goodwill committed Jul 15, 2017
1 parent 2063a1e commit e749fda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit e749fda

Please sign in to comment.