Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion server/app/services/botService.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ botService.executeBots = function executeBots(botsId, reqBody, userName, executi
botRemoteServerDetails.hostIP = botServerDetails[0].hostIP;
botRemoteServerDetails.hostPort = botServerDetails[0].hostPort;
} else {
if (appConfig.enableBotExecuterOsCheck === true || process.env.enableBotExecuterOsCheck === true) {
//As env variable will always be in string changed the check value to string
if (appConfig.enableBotExecuterOsCheck === true || process.env.enableBotExecuterOsCheck === 'true') {
logger.info("Inn OS check condition");
executorOsTypeConditionCheck(botServerDetails, botRemoteServerDetails, bots);
} else {
Expand Down