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
Added some more checks for E2T create handling and RMR update to v4.8.0
[ric-plt/rtmgr.git]
/
pkg
/
sbi
/
nngpush.go
diff --git
a/pkg/sbi/nngpush.go
b/pkg/sbi/nngpush.go
index
7ba43c5
..
0d9634e
100644
(file)
--- a/
pkg/sbi/nngpush.go
+++ b/
pkg/sbi/nngpush.go
@@
-50,7
+50,7
@@
var rmrcallid = 1
var rmrdynamiccallid = 201
var addendpointct = 1
var count int
var rmrdynamiccallid = 201
var addendpointct = 1
var count int
-var
c
onn sync.Mutex
+var
C
onn sync.Mutex
type RmrPush struct {
Sbi
type RmrPush struct {
Sbi
@@
-169,9
+169,9
@@
func (c *RmrPush) send_sync(ep *rtmgr.Endpoint, policies *[]string, call_id int)
xapp.Logger.Error("Invoked send_data to try again due to return value : %v", ret)
}
xapp.Logger.Error("Invoked send_data to try again due to return value : %v", ret)
}
-
c
onn.Lock()
+
C
onn.Lock()
rtmgr.RMRConnStatus[ep.Uuid] = ret
rtmgr.RMRConnStatus[ep.Uuid] = ret
-
c
onn.Unlock()
+
C
onn.Unlock()
// Handling per connection .. may be updating global map
//channel <- EPStatus{ep.Uuid, ret}
// Handling per connection .. may be updating global map
//channel <- EPStatus{ep.Uuid, ret}