From 922799cbd453712b7b0ad5e0753f641899de01a3 Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 2 Oct 2024 15:38:36 +0200 Subject: [PATCH] test --- controllers/status.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controllers/status.go b/controllers/status.go index ed82bf1..dcbabb1 100644 --- a/controllers/status.go +++ b/controllers/status.go @@ -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" } }