updateServiceConfig: remove retry from platform code
This commit is contained in:
@@ -113,6 +113,8 @@ exports = module.exports = {
|
||||
_setApiServerOrigin: setApiServerOrigin
|
||||
};
|
||||
|
||||
const NOOP_CALLBACK = function (error) { if (error) debug(error); };
|
||||
|
||||
var addons = require('./addons.js'),
|
||||
assert = require('assert'),
|
||||
backups = require('./backups.js'),
|
||||
@@ -452,7 +454,7 @@ function setPlatformConfig(platformConfig, callback) {
|
||||
|
||||
callback(null); // updating service config can take a while
|
||||
|
||||
addons.updateServiceConfig(platformConfig);
|
||||
addons.updateServiceConfig(platformConfig, NOOP_CALLBACK);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user