Read in cert file path from env vars (#103643)

use cert file path
alerting-pkg-part-2
mohammad-hamid 3 months ago committed by GitHub
parent e86df64657
commit a255ae6b0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      pkg/setting/settings_zanzana.go

@ -63,6 +63,7 @@ func (cfg *Cfg) readZanzanaSettings() {
zc.Token = clientSec.Key("token").MustString("")
zc.TokenExchangeURL = clientSec.Key("token_exchange_url").MustString("")
zc.Addr = clientSec.Key("address").MustString("")
zc.ServerCertFile = clientSec.Key("tls_cert").MustString("")
cfg.ZanzanaClient = zc

Loading…
Cancel
Save