mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Merge pull request #988 from prometheus/fabxc/fixreload
Fix loop-reloading on shutdown
This commit is contained in:
commit
b1e60e58ec
|
@ -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