New API version with additional structures and params
[ric-plt/xapp-frame.git] / pkg / restapi / server.go
index 23fda83..544be19 100644 (file)
@@ -489,7 +489,7 @@ func (s *Server) TLSListener() (net.Listener, error) {
 
 func handleInterrupt(once *sync.Once, s *Server) {
        once.Do(func() {
-               for range s.interrupt {
+               for _ = range s.interrupt {
                        if s.interrupted {
                                s.Logf("Server already shutting down")
                                continue