test
This commit is contained in:
parent
89dbe77844
commit
922799cbd4
@ -34,7 +34,8 @@ func (o *StatusController) Status() {
|
||||
var address map[string]string
|
||||
json.Unmarshal(o.Ctx.Input.CopyBody(10000), &address)
|
||||
if len(address) == 0 { // default if nothing is send in body
|
||||
for _, host := range []string{"oc-datacenter", "oc-workflow", "oc-workspace", "oc-shared", "oc-workspace"} {
|
||||
for _, host := range []string{tools.DATACENTERAPI, tools.WORKFLOWAPI, tools.WORKSPACEAPI,
|
||||
tools.SHAREDAPI, tools.CATALOGAPI, tools.PEERSAPI} {
|
||||
address[host] = "http://" + host + ":8080/oc"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user