mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-04 06:15:02 -04:00
Don't inline factory
This commit is contained in:
parent
92088f06e4
commit
ca40e06f5d
1 changed files with 3 additions and 2 deletions
|
|
@ -87,9 +87,10 @@ func listenerWrapTLS(
|
|||
|
||||
ln = tls.NewListener(ln, tlsConf)
|
||||
props["tls"] = "enabled"
|
||||
return ln, props, func() (string, ReloadFunc) {
|
||||
reloadFac := func() (string, ReloadFunc) {
|
||||
return cg.id, cg.reload
|
||||
}, nil
|
||||
}
|
||||
return ln, props, reloadFac, nil
|
||||
}
|
||||
|
||||
type certificateGetter struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue