mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-06 14:17:12 +02: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 New Issue
Block a user