updateServiceConfig: remove retry from platform code

This commit is contained in:
Girish Ramakrishnan
2020-09-22 21:45:22 -07:00
parent 3c565defca
commit 4da8c8d6db
4 changed files with 12 additions and 15 deletions

View File

@@ -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);
});
}