Change the error message for orchestrator startup 82/109582/1
authorRajamohan Raj <rajamohan.raj@intel.com>
Thu, 25 Jun 2020 19:15:44 +0000 (19:15 +0000)
committerRajamohan Raj <rajamohan.raj@intel.com>
Thu, 25 Jun 2020 19:15:44 +0000 (19:15 +0000)
In this patch, changed the error message for orchestrator
startup without the TLS.
Earlier the message was bit ambiguous.

Issue-ID: MULTICLOUD-1099
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: Idbeefdf5b725f46a52b13ff76981e4dadbe5c86f

src/orchestrator/cmd/main.go

index b5792b9..1ace5ca 100644 (file)
@@ -72,7 +72,7 @@ func main() {
 
        tlsConfig, err := auth.GetTLSConfig("ca.cert", "server.cert", "server.key")
        if err != nil {
-               log.Println("Error Getting TLS Configuration. Starting without TLS...")
+               log.Println("WARNING :: Getting TLS Configuration failed. Starting without TLS...")
                log.Fatal(httpServer.ListenAndServe())
        } else {
                httpServer.TLSConfig = tlsConfig