We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cec079 commit f5e3dd7Copy full SHA for f5e3dd7
pkg/alertmanager/alertmanager.go
@@ -72,15 +72,10 @@ var webReload = make(chan chan error)
72
73
func init() {
74
go func() {
75
- for {
76
- select {
77
- // Since this is not a "normal" Alertmanager which reads its config
78
- // from disk, we just ignore web-based reload signals. Config updates are
79
- // only applied externally via ApplyConfig().
80
- case <-webReload:
81
- default:
82
- continue
83
- }
+ // Since this is not a "normal" Alertmanager which reads its config
+ // from disk, we just accept and ignore web-based reload signals. Config
+ // updates are only applied externally via ApplyConfig().
+ for range webReload {
84
}
85
}()
86
0 commit comments