RIC-961:implement Xn and X2 component IDs correctly in E2M
[ric-plt/e2mgr.git] / E2Manager / managers / e2t_keep_alive_worker.go
index 45c5c08..606e339 100644 (file)
 // See the License for the specific language governing permissions and
 // limitations under the License.
 //
+
+//  This source code is part of the near-RT RIC (RAN Intelligent Controller)
+//  platform project (RICP).
+
 package managers
 
 import (
@@ -49,7 +53,7 @@ func (h E2TKeepAliveWorker) Execute() {
 
        ticker := time.NewTicker(time.Duration(h.config.KeepAliveDelayMs) * time.Millisecond)
 
-       for _= range ticker.C {
+       for _ = range ticker.C {
 
                h.SendKeepAliveRequest()
                h.E2TKeepAliveExpired()
@@ -80,6 +84,6 @@ func (h E2TKeepAliveWorker) E2TKeepAliveExpired() {
 
 func (h E2TKeepAliveWorker) SendKeepAliveRequest() {
 
-       request := models.RmrMessage{MsgType: rmrCgo.E2_TERM_KEEP_ALIVE_REQ}
-       h.rmrSender.SendWithoutLogs(&request)
-}
\ No newline at end of file
+       rmrMessage := models.RmrMessage{MsgType: rmrCgo.E2_TERM_KEEP_ALIVE_REQ}
+       h.rmrSender.SendWithoutLogs(&rmrMessage)
+}