From c91f17617859246043a0968bd99c95cc2cc8d1ab Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Fri, 18 Jun 2021 08:28:47 -0400 Subject: [PATCH] Deployment type obtained from env in healthz --- src/routes.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/routes.js b/src/routes.js index 71bea40c..e8e3d85a 100644 --- a/src/routes.js +++ b/src/routes.js @@ -98,7 +98,8 @@ module.exports = async ( logger.info('Received API status!', APIStatus) return { LNDStatus, - APIStatus + APIStatus, + deploymentType: process.env.DEPLOYMENT_TYPE || 'non-wizard' } } catch (err) { logger.error(err) @@ -110,7 +111,8 @@ module.exports = async ( logger.warn('Failed to retrieve API status', APIStatus) return { LNDStatus, - APIStatus + APIStatus, + deploymentType: process.env.DEPLOYMENT_TYPE || 'non-wizard' } } }