re-configure does not require oldConfig

this is only needed when changing location now. the configure()
is now entirely local i.e rebuild local container and the reverse
proxy config
This commit is contained in:
Girish Ramakrishnan
2019-12-06 09:23:58 -08:00
parent ffeb484a10
commit 7ab9f3fa2f
2 changed files with 2 additions and 23 deletions

View File

@@ -1885,9 +1885,8 @@ function configureInstalledApps(callback) {
async.eachSeries(apps, function (app, iteratorDone) {
debug(`configureInstalledApps: marking ${app.fqdn} for reconfigure`);
const oldConfig = _.pick(app, 'location', 'domain', 'fqdn', 'alternateDomains', 'portBindings');
const task = {
args: { oldConfig, overwriteDns: true },
args: {},
values: {},
scheduleNow: false, // task will be scheduled by autoRestartTasks when platform is ready
requireNullTaskId: false // ignore existing stale taskId