Policy status notification handling - initial rollup
[ric-plt/a1.git] / pkg / restapi / server.go
index 978fbee..8a6edbb 100644 (file)
@@ -45,7 +45,7 @@ import (
        flags "github.com/jessevdk/go-flags"
        "golang.org/x/net/netutil"
 
-       "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/restapi/operations"
+       "gerrit.o-ran-sc.org/r/ric-plt/a1/pkg/restapi/operations"
 )
 
 const (
@@ -325,9 +325,6 @@ func (s *Server) Serve() (err error) {
                        s.Fatalf("no certificate was configured for TLS")
                }
 
-               // must have at least one certificate or panics
-               httpsServer.TLSConfig.BuildNameToCertificate()
-
                configureServer(httpsServer, "https", s.httpsServerL.Addr().String())
 
                servers = append(servers, httpsServer)