Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing ports now closes old port. #21

Merged
merged 2 commits into from May 2, 2014
Merged

Conversation

makyo
Copy link
Contributor

@makyo makyo commented May 1, 2014

No description provided.

@@ -14,10 +14,18 @@ var fs = require('fs'),
@param {Object} config Config file template contents.
*/
function updateConfig(error, config) {
try {
exec('juju-log "Attempting to close old port..."');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the close-port call will be async we should either have a callback on it which then logs 'Closed old port' or change this comment to be 'Closing old port' so that it doesn't need a follow-up.

hatched added a commit that referenced this pull request May 2, 2014
Changing ports now closes old port.
@hatched hatched merged commit 3856dfa into hatched:master May 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants