mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 13:44:05 -08:00
remove unwanted break (#6338)
Signed-off-by: johncming <johncming@yahoo.com>
This commit is contained in:
parent
9d39fdad0c
commit
ad4bc5701e
|
@ -500,12 +500,10 @@ func main() {
|
|||
case <-term:
|
||||
level.Warn(logger).Log("msg", "Received SIGTERM, exiting gracefully...")
|
||||
reloadReady.Close()
|
||||
|
||||
case <-webHandler.Quit():
|
||||
level.Warn(logger).Log("msg", "Received termination request via web service, exiting gracefully...")
|
||||
case <-cancel:
|
||||
reloadReady.Close()
|
||||
break
|
||||
}
|
||||
return nil
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue