Code Review
/
ric-plt
/
rtmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
2bff80d
)
Resetting E2Term connection flag after connection succes
71/6971/1
author
wahidw
<abdulwahid.w@nokia.com>
Sat, 30 Oct 2021 16:16:01 +0000
(16:16 +0000)
committer
wahidw
<abdulwahid.w@nokia.com>
Sat, 30 Oct 2021 16:16:01 +0000
(16:16 +0000)
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: Ifa7bbc08f42e46171fb04c66f75a31a21de05742
pkg/nbi/httprestful.go
patch
|
blob
|
history
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
}
}