Code Review
/
ric-plt
/
appmgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update regexp for helm command
[ric-plt/appmgr.git]
/
cmd
/
appmgr
/
helm.go
diff --git
a/cmd/appmgr/helm.go
b/cmd/appmgr/helm.go
index
9e2fde7
..
5a5c28a
100755
(executable)
--- 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
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
result := r.FindStringSubmatch(string(out))
if result == nil {
return