Skip to content

Commit

Permalink
more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Jul 29, 2024
1 parent 95189ad commit 51d122b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/domainService.js
Original file line number Diff line number Diff line change
Expand Up @@ -581,8 +581,9 @@ async function generateAndReplaceMainApplicationHaproxyConfig(isGmode = false, t
const updatingConfig = JSON.parse(JSON.stringify(recentlyConfiguredApps));
// merge recentlyConfiguredApps with currently configuredApps
for (const app of configuredApps) {
log.info(`G Updating ${app.name} with IPs ${JSON.stringify(app.ips)}`);
log.info(`G Updating ${app.appName} of ${app.name} with IPs ${JSON.stringify(app.ips)}`);
const appExists = updatingConfig.find((a) => a.appName === app.appName);
log.info(`Exists ${JSON.stringify(appExists)}`);
if (!appExists) {
updatingConfig.push(app);
} else if (!app.ips.length) {
Expand Down

0 comments on commit 51d122b

Please sign in to comment.