Code Review
/
ric-plt
/
appmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9135751
)
Update regexp for helm command
64/464/1
author
Mohamed Abukar
<abukar.mohamed@nokia.com>
Thu, 4 Jul 2019 06:21:03 +0000
(09:21 +0300)
committer
Mohamed Abukar
<abukar.mohamed@nokia.com>
Thu, 4 Jul 2019 06:21:13 +0000
(09:21 +0300)
Change-Id: I591c47d82e0e5e664c7a8898ef0f745adfc91d3a
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
cmd/appmgr/helm.go
patch
|
blob
|
history
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
- 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