Skip to content

Commit

Permalink
fix: pm2 plus + register
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Jul 26, 2018
1 parent eac5085 commit 277ec6b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/API/pm2-plus/PM2IO.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,14 @@ module.exports = function(CLI) {
}).then(res => {
const bucket = res.data.bucket
console.log(chalk.bold.green('[+] Bucket created!'))
self.link(bucket, () => {

var connection_info = {
public_key: bucket.public_id,
secret_key: bucket.secret_id,
pm2_version: pkg.version
}

self.link(connection_info, () => {
finalize(bucket)
})
})
Expand Down

0 comments on commit 277ec6b

Please sign in to comment.