From bbacd2dd09bdbd293e4ae782bc328261f8ed39ca Mon Sep 17 00:00:00 2001 From: johncming Date: Thu, 19 Mar 2020 19:21:00 +0800 Subject: [PATCH] remove needless break. (#7008) Signed-off-by: johncming --- cmd/prometheus/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go index 05d1fbd96..1a4635122 100644 --- a/cmd/prometheus/main.go +++ b/cmd/prometheus/main.go @@ -618,7 +618,6 @@ func main() { func() error { select { case <-dbOpen: - break // In case a shutdown is initiated before the dbOpen is released case <-cancel: reloadReady.Close()