Merge pull request #399 from shocknet/deployment-type-in-healthz

Deployment type obtained from env in healthz
This commit is contained in:
CapDog 2021-06-26 12:05:51 -04:00 committed by GitHub
commit d521b7a87d

View file

@ -98,7 +98,8 @@ module.exports = async (
logger.info('Received API status!', APIStatus)
return {
LNDStatus,
APIStatus
APIStatus,
deploymentType: process.env.DEPLOYMENT_TYPE || 'default'
}
} 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 || 'default'
}
}
}