From 107dbba69a5cce66c9d3472a3761004e23d5f2e6 Mon Sep 17 00:00:00 2001 From: Mathias Lafeldt Date: Thu, 11 Aug 2016 15:54:33 +0200 Subject: [PATCH] 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. --- command/agent/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/command.go b/command/agent/command.go index 9440268a47d..dc53a33e52a 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -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 }