Permalink
Browse files

Ading to string

  • Loading branch information...
1 parent 725be62 commit b6740d28de15ea5127285cc0d337db8be7c578a6 @MainframeEnzo MainframeEnzo committed Jan 3, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 submodules/utilities.js
@@ -49,7 +49,7 @@ UtilitiesManagerModule.prototype.getInstanceId = function (callback) {
process.exit(1);
} else { /* Debug */
/* console.log('Read ec2 parameter: ' + parameter + ', with value: ' + stdout); */
- callback(stdout);
+ callback(stdout.toString());
return;
}
});
@@ -69,7 +69,7 @@ UtilitiesManagerModule.prototype.getPublicHostname = function (callback) {
process.exit(1);
} else { /* Debug */
/* console.log('Read ec2 parameter: ' + parameter + ', with value: ' + stdout); */
- callback(stdout);
+ callback(stdout.toString());
return;
}
});
@@ -89,7 +89,7 @@ UtilitiesManagerModule.prototype.getInternalIP = function (callback) {
process.exit(1);
} else { /* Debug */
/* console.log('Read ec2 parameter: ' + parameter + ', with value: ' + stdout); */
- callback(stdout);
+ callback(stdout.toString());
return;
}
});

0 comments on commit b6740d2

Please sign in to comment.