Lightest nats behaviors, less code
This commit is contained in:
@@ -34,7 +34,8 @@ func (o *StatusController) Status() {
|
||||
var address map[string]string
|
||||
json.Unmarshal(o.Ctx.Input.CopyBody(10000), &address)
|
||||
api := tools.API{}
|
||||
state, services, err := api.CheckRemoteAPIs([]tools.DataType{tools.BOOKING, tools.WORKFLOW, tools.WORKSPACE,
|
||||
state, services, err := api.CheckRemoteAPIs([]tools.DataType{
|
||||
tools.BOOKING, tools.WORKFLOW, tools.WORKSPACE,
|
||||
tools.COLLABORATIVE_AREA, tools.DATA_RESOURCE}) // check if the services are alive
|
||||
errSTR := ""
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user