Merge pull request #399 from shocknet/deployment-type-in-healthz
Deployment type obtained from env in healthz
This commit is contained in:
commit
d521b7a87d
1 changed files with 4 additions and 2 deletions
|
|
@ -98,7 +98,8 @@ module.exports = async (
|
||||||
logger.info('Received API status!', APIStatus)
|
logger.info('Received API status!', APIStatus)
|
||||||
return {
|
return {
|
||||||
LNDStatus,
|
LNDStatus,
|
||||||
APIStatus
|
APIStatus,
|
||||||
|
deploymentType: process.env.DEPLOYMENT_TYPE || 'default'
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error(err)
|
logger.error(err)
|
||||||
|
|
@ -110,7 +111,8 @@ module.exports = async (
|
||||||
logger.warn('Failed to retrieve API status', APIStatus)
|
logger.warn('Failed to retrieve API status', APIStatus)
|
||||||
return {
|
return {
|
||||||
LNDStatus,
|
LNDStatus,
|
||||||
APIStatus
|
APIStatus,
|
||||||
|
deploymentType: process.env.DEPLOYMENT_TYPE || 'default'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue