mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
agent: clarify why we Kill still
This commit is contained in:
parent
e9b8e5d265
commit
f5e7993249
@ -1294,7 +1294,8 @@ func (a *Agent) ShutdownAgent() error {
|
||||
|
||||
// Stop the proxy manager
|
||||
// NOTE(mitchellh): we use Kill for now to kill the processes since
|
||||
// there isn't a clean way to cleanup the managed proxies. This is coming
|
||||
// the local state isn't snapshotting meaning the proxy tokens are
|
||||
// regenerated each time forcing the processes to restart anyways.
|
||||
if err := a.proxyManager.Kill(); err != nil {
|
||||
a.logger.Printf("[WARN] agent: error shutting down proxy manager: %s", err)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user