fixup! comment and move to always log server reload operation
This commit is contained in:
parent
5174f63d6c
commit
dcc9cdfeb7
|
@ -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
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue