fix postprocessing service

Signed-off-by: jkoberg <jkoberg@owncloud.com>

tmp

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg committed 2022-12-21 13:47:33 +01:00
1 parent 89bac9bbdc
commit 502e2ec8f4
2 files changed
+4 -3

No files matched your search

@@ -36,7 +36,7 @@ func Server(cfg *config.Config) *cli.Command {
evtsCfg := cfg.Postprocessing.Events
var tlsConf *tls.Config
if !evtsCfg.TLSInsecure {
if evtsCfg.EnableTLS {
var rootCAPool *x509.CertPool
if evtsCfg.TLSRootCACertificate != "" {
rootCrtFile, err := os.Open(evtsCfg.TLSRootCACertificate)