Skip to content

Commit

Permalink
fixup! comment and move to always log server reload operation
Browse files Browse the repository at this point in the history
  • Loading branch information
chelseakomlo committed Jun 7, 2018
1 parent b92982c commit db4115a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion command/agent/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion nomad/vault_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit db4115a

Please sign in to comment.