mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Fix loop-reloading on shutdown
This commit is contained in:
parent
9e9f88b5ce
commit
18c0f347a3
|
@ -159,8 +159,6 @@ func Main() int {
|
||||||
log.Warn("Received termination request via web service, exiting gracefully...")
|
log.Warn("Received termination request via web service, exiting gracefully...")
|
||||||
}
|
}
|
||||||
|
|
||||||
close(hup)
|
|
||||||
|
|
||||||
log.Info("See you next time!")
|
log.Info("See you next time!")
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue