mirror of
https://github.com/Unitech/pm2.git
synced 2026-02-01 16:57:09 +00:00
remove unused passed cb
This commit is contained in:
parent
66a3abd4f4
commit
4bdd3180da
@ -70,7 +70,7 @@ var PushInteractor = module.exports = {
|
||||
* Connect to target host or reconnect if null is passed
|
||||
* the host param must be formated like (http://HOST:PORT)
|
||||
*/
|
||||
connectRemote : function(hostname, cb) {
|
||||
connectRemote : function(hostname) {
|
||||
if (hostname)
|
||||
hostname = Url.parse(hostname).hostname;
|
||||
else if (this.socket && this.socket.host)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user