We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44f2f0a commit 4909c21Copy full SHA for 4909c21
services/mq-interceptor/main.go
@@ -257,7 +257,10 @@ func selectEgaIdByElixirId(elixirId string) (egaId string, err error) {
257
func getTLSConfig() *tls.Config {
258
caCertPath := os.Getenv("CA_CERT_PATH")
259
if caCertPath == "" {
260
- log.Fatal("CA_CERT_PATH environment variable not set")
+ log.Println("CA_CERT_PATH environment variable not set, using default TLS configurations")
261
+ return &tls.Config{
262
+ InsecureSkipVerify: false,
263
+ }
264
}
265
caCert, err := os.ReadFile(caCertPath)
266
if err != nil {
0 commit comments