Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[RIC-396] Reject E2 Setup when ricEnabled = false
[ric-plt/e2mgr.git]
/
E2Manager
/
handlers
/
httpmsghandlers
/
x2_reset_request_handler.go
diff --git
a/E2Manager/handlers/httpmsghandlers/x2_reset_request_handler.go
b/E2Manager/handlers/httpmsghandlers/x2_reset_request_handler.go
index
13a88ad
..
c8fd494
100644
(file)
--- a/
E2Manager/handlers/httpmsghandlers/x2_reset_request_handler.go
+++ b/
E2Manager/handlers/httpmsghandlers/x2_reset_request_handler.go
@@
-30,6
+30,7
@@
import (
"e2mgr/services/rmrsender"
"gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/common"
"gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/entities"
"e2mgr/services/rmrsender"
"gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/common"
"gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/entities"
+ "unsafe"
)
const (
)
const (
@@
-82,8
+83,8
@@
func (handler *X2ResetRequestHandler) Handle(request models.Request) (models.IRe
}
var xAction []byte
}
var xAction []byte
-
- msg := models.NewRmrMessage(rmrCgo.RIC_X2_RESET, resetRequest.RanName, payload, xAction)
+ var msgSrc unsafe.Pointer
+ msg := models.NewRmrMessage(rmrCgo.RIC_X2_RESET, resetRequest.RanName, payload, xAction
, msgSrc
)
err = handler.rmrSender.Send(msg)
err = handler.rmrSender.Send(msg)