Deployment type obtained from env in healthz

This commit is contained in:
Daniel Lugo 2021-06-18 08:28:47 -04:00
parent 05a250acff
commit c91f176178

View file

@ -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'
}
}
}