X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=cmd%2Fappmgr%2Fhelm.go;fp=cmd%2Fappmgr%2Fhelm.go;h=5a5c28afc3362f788da57eb84e99283f80362a88;hb=be10a31466eb6a77e9fb224d345b96bd81cb0a92;hp=9e2fde7c3aefbe1379dd14f0170c301b264e3763;hpb=9135751d00d9526d3dc7aae273f5b25900ca21de;p=ric-plt%2Fappmgr.git diff --git a/cmd/appmgr/helm.go b/cmd/appmgr/helm.go index 9e2fde7..5a5c28a 100755 --- a/cmd/appmgr/helm.go +++ b/cmd/appmgr/helm.go @@ -293,7 +293,7 @@ func (h *Helm) FillInstanceData(name string, out string, xapp *Xapp, msgs Messag ip, port := h.GetAddress(out) var tmp string - r := regexp.MustCompile(`(?s)\/Pod.*?\/Service`) + r := regexp.MustCompile(`.*(?s)(Running|Pending|Succeeded|Failed|Unknown).*?\r?\n\r?\n`) result := r.FindStringSubmatch(string(out)) if result == nil { return