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
Merge "merge of Natalia - change rnib errors"
[ric-plt/e2mgr.git]
/
E2Manager
/
managers
/
ran_reconnection_manager.go
diff --git
a/E2Manager/managers/ran_reconnection_manager.go
b/E2Manager/managers/ran_reconnection_manager.go
index
87a656e
..
70acee0
100644
(file)
--- a/
E2Manager/managers/ran_reconnection_manager.go
+++ b/
E2Manager/managers/ran_reconnection_manager.go
@@
-22,7
+22,6
@@
import (
"e2mgr/logger"
"e2mgr/rNibWriter"
"e2mgr/services"
"e2mgr/logger"
"e2mgr/rNibWriter"
"e2mgr/services"
- "gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/common"
"gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/entities"
"gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/reader"
)
"gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/entities"
"gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/reader"
)
@@
-80,7
+79,7
@@
func (m *RanReconnectionManager) canReconnectRan(nodebInfo *entities.NodebInfo)
int(nodebInfo.GetConnectionAttempts()) < m.config.MaxConnectionAttempts
}
int(nodebInfo.GetConnectionAttempts()) < m.config.MaxConnectionAttempts
}
-func (m *RanReconnectionManager) updateNodebInfoStatus(nodebInfo *entities.NodebInfo, connectionStatus entities.ConnectionStatus)
common.IRNibE
rror {
+func (m *RanReconnectionManager) updateNodebInfoStatus(nodebInfo *entities.NodebInfo, connectionStatus entities.ConnectionStatus)
e
rror {
if nodebInfo.ConnectionStatus == connectionStatus {
return nil
}
if nodebInfo.ConnectionStatus == connectionStatus {
return nil
}
@@
-97,7
+96,7
@@
func (m *RanReconnectionManager) updateNodebInfoStatus(nodebInfo *entities.Nodeb
return nil
}
return nil
}
-func (m *RanReconnectionManager) setConnectionStatusOfUnconnectableRan(nodebInfo *entities.NodebInfo)
common.IRNibE
rror {
+func (m *RanReconnectionManager) setConnectionStatusOfUnconnectableRan(nodebInfo *entities.NodebInfo)
e
rror {
connectionStatus := nodebInfo.GetConnectionStatus()
if connectionStatus == entities.ConnectionStatus_SHUT_DOWN {
connectionStatus := nodebInfo.GetConnectionStatus()
if connectionStatus == entities.ConnectionStatus_SHUT_DOWN {