Code Review
/
ric-plt
/
rtmgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Resetting E2Term connection flag after connection succes
[ric-plt/rtmgr.git]
/
pkg
/
nbi
/
httprestful.go
diff --git
a/pkg/nbi/httprestful.go
b/pkg/nbi/httprestful.go
index
ebbf050
..
8222e72
100644
(file)
--- a/
pkg/nbi/httprestful.go
+++ b/
pkg/nbi/httprestful.go
@@
-316,6
+316,7
@@
func CreateNewE2tHandleHandlerImpl(data *models.E2tData) error {
time.Sleep(10 * time.Second)
for ep, value := range rtmgr.RMRConnStatus {
if ep == *data.E2TAddress && value == true {
+ rtmgr.RMRConnStatus[ep] = false //Reset to false incase of E2t restart scenario
return nil
}
}