Merge pull request #1946 from apergy/patch-2

Made "pullCommitId" use the given callback
This commit is contained in:
Alexandre Strzelewicz 2016-02-15 15:10:43 +01:00
commit cf2af0e3a2

View File

@ -2153,7 +2153,7 @@ CLI.pullAndGracefulReload = function (process_name, cb) {
* @return
*/
CLI.pullCommitId = function (opts, cb) {
Version.pullCommitId(opts.pm2_name, opts.commit_id);
Version.pullCommitId(opts.pm2_name, opts.commit_id, cb);
}
/**