X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=icsversion%2Fmain.go;h=dcf37ff15e7ed03394d7146e699e1813b14a087f;hb=7749724e74312a7aae07f32f4185c896fb1d6559;hp=bddac043920f8c0eccffb94327b22ce448957da6;hpb=361894d226e2e8946a1e57bba2125a14ce84c009;p=nonrtric%2Frapp%2Fransliceassurance.git diff --git a/icsversion/main.go b/icsversion/main.go index bddac04..dcf37ff 100644 --- a/icsversion/main.go +++ b/icsversion/main.go @@ -49,7 +49,10 @@ func main() { a = sliceassurance.App{} a.Initialize(configuration) - go a.StartServer() + go func() { + a.StartServer() + os.Exit(1) // If the startServer function exits, it is because there has been a failure in the server, so we exit. + }() keepConsumerAlive() }