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:
parent
7060d246d1
commit
4143a9059a
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue