changed package name
[ric-app/rc.git] / control / rcControl.go
index 7570d0b..41cfc92 100644 (file)
@@ -4,7 +4,7 @@ import (
        "errors"\r
        "fmt"\r
        "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/xapp"\r
-       "gerrit.o-ran-sc.org/r/scp/ric-app/protocol/grpc/ricmsgcommrpc/rc"\r
+       "gerrit.o-ran-sc.org/r/ric-app/rc/protocol/grpc/ricmsgcommrpc/rc"\r
        "log"\r
        "os"\r
        "strconv"\r
@@ -106,11 +106,6 @@ func StartHandleControlReqRoutine() {
        log.Printf("Starting Go Routine for Handling GRPC RIC Control msg ")\r
        xapp.Logger.Info("Starting Go Routine for Handling GRPC RIC Control msg ")\r
        for {\r
-               _, ok := <-gChan_RicControlReq_handle\r
-               if ok == false {\r
-                       xapp.Logger.Error("Invalid grpc request received, dont process further")\r
-                       break\r
-               }\r
                HandlegRPCRICControlMsgReq(<-gChan_RicControlReq_handle)\r
        }\r
        xapp.Logger.Debug("StartHandleControlReqRoutine Done")\r