From aeddd8abf12bfee6c018da7bac68f28b3e9713ba Mon Sep 17 00:00:00 2001 From: Alvaro Vega Date: Thu, 16 Jan 2025 11:19:24 +0100 Subject: [PATCH] just print values for that env vars --- lib/configService.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/configService.js b/lib/configService.js index db4ddce85..448b34967 100644 --- a/lib/configService.js +++ b/lib/configService.js @@ -85,7 +85,10 @@ function processEnvironmentVariables() { 'IOTA_HTTP_PORT', 'IOTA_HTTP_TIMEOUT', 'IOTA_HTTP_KEY', - 'IOTA_HTTP_CERT' + 'IOTA_HTTP_CERT', + 'IOTA_CONFIG_RETRIEVAL', + 'IOTA_DEFAULT_KEY', + 'IOTA_DEFAULT_TRANSPORT' ]; const mqttVariables = [ 'IOTA_MQTT_PROTOCOL', @@ -229,7 +232,7 @@ function processEnvironmentVariables() { config.mqtt.clientId = process.env.IOTA_MQTT_CLIENT_ID; } - if (process.env.IOTA_MQTT_DISABLED && process.env.IOTA_MQTT_DISABLED.trim().toLowerCase() === 'true'){ + if (process.env.IOTA_MQTT_DISABLED && process.env.IOTA_MQTT_DISABLED.trim().toLowerCase() === 'true') { config.mqtt.disabled = true; } @@ -274,7 +277,7 @@ function processEnvironmentVariables() { config.amqp.retryTime = process.env.IOTA_AMQP_RETRY_TIME; } - if (process.env.IOTA_AMQP_DISABLED && process.env.IOTA_AMQP_DISABLED.trim().toLowerCase() === 'true'){ + if (process.env.IOTA_AMQP_DISABLED && process.env.IOTA_AMQP_DISABLED.trim().toLowerCase() === 'true') { config.amqp.disabled = true; }