Skip to content

Commit

Permalink
Fix reload of retry_join server addresses on SIGHUP
Browse files Browse the repository at this point in the history
The current code does not update the actual config, but only the local
reference to it.
  • Loading branch information
mlafeldt committed Aug 11, 2016
1 parent 97a7173 commit 107dbba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/agent/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 107dbba

Please sign in to comment.