mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
Merge HA Backend objects
This commit is contained in:
parent
b12747d6c0
commit
c22fc374b6
1 changed files with 5 additions and 0 deletions
|
|
@ -110,6 +110,11 @@ func (c *Config) Merge(c2 *Config) *Config {
|
|||
result.Backend = c2.Backend
|
||||
}
|
||||
|
||||
result.HABackend = c.HABackend
|
||||
if c2.HABackend != nil {
|
||||
result.HABackend = c2.HABackend
|
||||
}
|
||||
|
||||
result.Telemetry = c.Telemetry
|
||||
if c2.Telemetry != nil {
|
||||
result.Telemetry = c2.Telemetry
|
||||
|
|
|
|||
Loading…
Reference in a new issue