Hi Team,
The signature is incorrect for getHealth, it does not return a Promise of Response.
The Response interface is as follows:
And you can see below that the response in fact does not follow the Response interface you have assigned:
[
{
"instance":"zero",
"address":"zerostatefulset-0.dgraph-zero-service:5080",
"status":"healthy",
"group":"0",
"version":"v20.07.1-rc1-29-g43c04cff",
"uptime":129,
"lastEcho":1606377927
},
{
"instance":"alpha",
"address":"localhost:7080",
"status":"healthy",
"group":"1",
"version":"v20.07.1-rc1-29-g43c04cff",
"uptime":137,
"lastEcho":1606377927,
"ongoing":[
"opRollup"
],
"ee_features":[
"backup_restore"
]
}
]