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 5174f63d6c
commit dcc9cdfeb7
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

View file

@ -438,7 +438,7 @@ func TestVaultClient_SetConfig(t *testing.T) {
t.Fatalf("unexpected token: %v", client.tokenData)
}
// test that when SetConfig is called with the same configuration, it is a
// Test that when SetConfig is called with the same configuration, it is a
// no-op
failCh := make(chan struct{}, 1)
go func() {