fixup! comment and move to always log server reload operation

This commit is contained in:
Chelsea Holland Komlo
2018-06-07 17:12:36 -04:00
parent b92982c346
commit db4115a68f
2 changed files with 2 additions and 2 deletions

View File

@@ -740,9 +740,9 @@ func (c *Command) handleReload() {
}
}
c.agent.logger.Printf("[DEBUG] agent: starting reload of server config")
if s := c.agent.Server(); s != nil {
sconf, err := convertServerConfig(newConf, c.logOutput)
c.agent.logger.Printf("[DEBUG] agent: starting reload of server config")
if err != nil {
c.agent.logger.Printf("[ERR] agent: failed to convert server config: %v", err)
return