mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-30 06:51:30 +02:00
config: log config source changes (#1959)
* config: log config source changes * use internal log import
This commit is contained in:
parent
664358dfad
commit
f396c2a0f7
11 changed files with 42 additions and 56 deletions
|
@ -81,7 +81,6 @@ func (a *Authenticate) OnConfigChange(cfg *config.Config) {
|
|||
return
|
||||
}
|
||||
|
||||
log.Info().Str("checksum", fmt.Sprintf("%x", cfg.Options.Checksum())).Msg("authenticate: updating options")
|
||||
a.options.Store(cfg.Options)
|
||||
if state, err := newAuthenticateStateFromConfig(cfg); err != nil {
|
||||
log.Error().Err(err).Msg("authenticate: failed to update state")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue