diff --git a/src/services/domainService.js b/src/services/domainService.js index bc46155..4285a40 100644 --- a/src/services/domainService.js +++ b/src/services/domainService.js @@ -348,7 +348,7 @@ async function generateAndReplaceMainApplicationHaproxyConfig(isGmode = false, t appIps.push(selectedIP); } } else { - const applicationWithChecks = applicationChecks.applicationWithChecks(); + const applicationWithChecks = applicationChecks.applicationWithChecks(app); if (applicationWithChecks) { log.info(`Application ${app.name} have specific checks.`); for (const location of appLocations) { // run coded checks for app