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:
rcourtman 2025-12-21 21:52:57 +00:00
parent 0ce6bda33b
commit a2b3878ad2

View file

@ -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)