mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
Fix reload of retry_join server addresses on SIGHUP
The current code does not update the actual config, but only the local reference to it.
This commit is contained in:
@@ -484,7 +484,7 @@ WAIT:
|
||||
// Check if this is a SIGHUP
|
||||
if sig == syscall.SIGHUP {
|
||||
if conf := c.handleReload(config); conf != nil {
|
||||
config = conf
|
||||
*config = *conf
|
||||
}
|
||||
goto WAIT
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user