fix: correct patrol interval logging
The log was showing QuickCheckInterval (deprecated, always 0) instead of the actual Interval field. This caused confusing 'interval: 0' logs.
This commit is contained in:
parent
0ce6bda33b
commit
a2b3878ad2
1 changed files with 1 additions and 1 deletions
|
|
@ -529,7 +529,7 @@ func (s *Service) ReconfigurePatrol() {
|
||||||
|
|
||||||
log.Info().
|
log.Info().
|
||||||
Bool("enabled", patrolCfg.Enabled).
|
Bool("enabled", patrolCfg.Enabled).
|
||||||
Dur("interval", patrolCfg.QuickCheckInterval).
|
Dur("interval", patrolCfg.Interval).
|
||||||
Msg("Patrol configuration updated")
|
Msg("Patrol configuration updated")
|
||||||
|
|
||||||
// Update alert-triggered analyzer (re-check license on each config change)
|
// Update alert-triggered analyzer (re-check license on each config change)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue