reverse setTimeout args

This commit is contained in:
Girish Ramakrishnan
2016-04-19 12:28:36 -07:00
parent 37d6354627
commit e1b7198a29

View File

@@ -102,7 +102,7 @@ function initialize(callback) {
assert.strictEqual(typeof callback, 'function');
exports.events.on(exports.EVENT_CONFIGURED, addDnsRecords);
exports.events.on(exports.EVENT_FIRST_RUN, function () { setTimeout(30000, installAppBundle); }); // wait for 30sec for the addons to start up
exports.events.on(exports.EVENT_FIRST_RUN, function () { setTimeout(installAppBundle, 30000); }); // wait for 30sec for the addons to start up
// check activation state for existing cloudrons that do not have first run file
// can be removed once cloudrons have been updated