if len(e2tInstance.AssociatedRanList) == 0 {
h.logger.Infof("#E2TermInitNotificationHandler.Handle - E2T Address: %s - E2T instance has no associated RANs", e2tInstance.Address)
- //h.UpdateExistingE2TInstanceToRtmgr(e2tAddress)
+ h.UpdateExistingE2TInstanceToRtmgr(e2tAddress)
return
}
func (h E2TermInitNotificationHandler) UpdateExistingE2TInstanceToRtmgr(e2tAddress string) {
+ _ = h.e2tInstancesManager.ResetKeepAliveTimestamp(e2tAddress)
for i := 1; i < 4; i++ {
err := h.routingManagerClient.AddE2TInstance(e2tAddress)
} else {
h.logger.Errorf("#E2TermInitNotificationHandler.UpdateExistingE2TInstanceToRtmgr - e2t address count - %d : %s - routing manager failure", i, e2tAddress)
- _ = h.e2tInstancesManager.ResetKeepAliveTimestamp(e2tAddress)
}
}