mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
agent: Allow for a 'cache' stanza in environment template configuration (#20918)
This commit is contained in:
committed by
GitHub
parent
e4c19ac0af
commit
8fe7076c02
@@ -517,7 +517,7 @@ func (c *AgentCommand) Run(args []string) int {
|
||||
var listeners []net.Listener
|
||||
|
||||
// If there are templates, add an in-process listener
|
||||
if len(config.Templates) > 0 {
|
||||
if len(config.Templates) > 0 || len(config.EnvTemplates) > 0 {
|
||||
config.Listeners = append(config.Listeners, &configutil.Listener{Type: listenerutil.BufConnType})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user