Deployment type obtained from env in healthz
This commit is contained in:
parent
05a250acff
commit
c91f176178
1 changed files with 4 additions and 2 deletions
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue