open-vault/command/server
Noel Cower 4f05192be3 Merge all configuration fields (#6028)
This changes (*Config).Merge to merge all fields of a Config.
Previously, when merging Configs, some configuration fields were
ignored and completely lost, including APIAddr, ClusterAddr, and
a couple boolean fields. This only occurs when using multiple config
files and does not affect single config files (even when loading from
a directory -- Merge is only called after a second file is loaded).

- Fix APIAddr not being merged.
- Fix ClusterAddr not being merged.
- Fix DisablePrintableCheck not being merged.
- Fix DisableClustering not being merged. The DisableClusteringRaw
  value is also preserved so that it can be used in overrides for
  storage fields.
- Use merged top-level config as storage field overrides.
- Update config dir test fixtures to set some fields missed by
  (*Config).Merge previously.
2019-01-23 11:27:21 -05:00
..
seal Add -dev-auto-seal option (#5629) 2018-10-29 09:30:24 -04:00
test-fixtures Merge all configuration fields (#6028) 2019-01-23 11:27:21 -05:00
config.go Merge all configuration fields (#6028) 2019-01-23 11:27:21 -05:00
config_test.go Merge all configuration fields (#6028) 2019-01-23 11:27:21 -05:00
listener.go Updated proxy protocol config validation (#4528) 2018-05-09 10:53:44 -04:00
listener_tcp.go X-Forwarded-For (#4380) 2018-04-17 18:52:09 -04:00
listener_tcp_test.go go vet fixes 2018-02-05 14:26:31 -05:00
listener_test.go Add tests. This actually adds the initial tests for the TLS listener, 2016-03-11 14:05:52 -05:00