mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-12 08:37:38 +02:00
config: use getters for certificates (#2001)
* config: use getters for certificates * update log message
This commit is contained in:
parent
36eeff296a
commit
853d2dd478
8 changed files with 101 additions and 51 deletions
|
@ -216,8 +216,6 @@ func (src *FileWatcherSource) check(cfg *Config) {
|
|||
|
||||
// update the computed config
|
||||
src.computedConfig = cfg.Clone()
|
||||
src.computedConfig.Options.Certificates = nil
|
||||
_ = src.computedConfig.Options.Validate()
|
||||
|
||||
// trigger a change
|
||||
src.Trigger(src.computedConfig)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue