Permalink
Browse files

Fixing callback

  • Loading branch information...
1 parent 8e712d9 commit 113cb2b2d24caeee814046f2eea75f6e36108f87 @MainframeEnzo MainframeEnzo committed Jan 3, 2012
Showing with 3 additions and 5 deletions.
  1. +3 −5 run/client.js
View
@@ -55,12 +55,10 @@ function NodeMonitor() {
constants.strings.MONITOR_CONFIG_FILE, function () {
/* Parse command line options */
utilities.parseCommandLineOptions(function () {
- /* Auto-populate object based on EC2, if true, use EC2-metadata script */
- utilities.autoPopulate(function () {
- /* Validate credentials */
- credentials.check();
+ /* Validate credentials */
+ credentials.check(function () {
+ callback();
});
- callback();
});
});
};

0 comments on commit 113cb2b

Please sign in to comment.