mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-05-06 21:52:54 +08:00
silent_period is stored as Frequency on the notification, not on the alert itself. PostUpdate only called UpdateNotification (which recreates notifications with the new silent_period) when Channel was non-empty. When channel was an empty array, the silent_period update was silently skipped. Add an else-if branch to directly update the existing notifications' Frequency when silent_period changes but channel is empty.