Properly scope config objects for reloading

This commit is contained in:
Jeff Mitchell
2016-03-14 11:18:02 -04:00
parent 14f538556e
commit 0c56385d59
2 changed files with 10 additions and 6 deletions

View File

@@ -7,6 +7,7 @@ import (
auditFile "github.com/hashicorp/vault/builtin/audit/file"
auditSyslog "github.com/hashicorp/vault/builtin/audit/syslog"
"github.com/hashicorp/vault/command/server"
"github.com/hashicorp/vault/version"
credAppId "github.com/hashicorp/vault/builtin/credential/app-id"
@@ -78,8 +79,9 @@ func Commands(metaPtr *command.Meta) map[string]cli.CommandFactory {
"mysql": mysql.Factory,
"ssh": ssh.Factory,
},
ShutdownCh: makeShutdownCh(),
SighupCh: makeSighupCh(),
ShutdownCh: makeShutdownCh(),
SighupCh: makeSighupCh(),
ReloadFuncs: map[string][]server.ReloadFunc{},
}, nil
},