mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +00:00
-agent-address flag should have higher precedence than the env var (#28574)
* -agent-address flag should have higher precedence than the env var * add changelog
This commit is contained in:
@@ -106,7 +106,7 @@ func (c *BaseCommand) Client() (*api.Client, error) {
|
||||
config.Address = c.flagAddress
|
||||
}
|
||||
if c.flagAgentProxyAddress != "" {
|
||||
config.Address = c.flagAgentProxyAddress
|
||||
config.AgentAddress = c.flagAgentProxyAddress
|
||||
}
|
||||
|
||||
if c.flagOutputCurlString {
|
||||
|
||||
Reference in New Issue
Block a user