remove unwanted break (#6338)

Signed-off-by: johncming <johncming@yahoo.com>
pull/6339/head
johncming 2019-11-19 15:01:03 +08:00 committed by Ganesh Vernekar
parent 9d39fdad0c
commit ad4bc5701e
1 changed files with 0 additions and 2 deletions

View File

@ -500,12 +500,10 @@ func main() {
case <-term: case <-term:
level.Warn(logger).Log("msg", "Received SIGTERM, exiting gracefully...") level.Warn(logger).Log("msg", "Received SIGTERM, exiting gracefully...")
reloadReady.Close() reloadReady.Close()
case <-webHandler.Quit(): case <-webHandler.Quit():
level.Warn(logger).Log("msg", "Received termination request via web service, exiting gracefully...") level.Warn(logger).Log("msg", "Received termination request via web service, exiting gracefully...")
case <-cancel: case <-cancel:
reloadReady.Close() reloadReady.Close()
break
} }
return nil return nil
}, },