mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Remove sensitive fields when reading config data (#4216)
* Remove sensitive fields when reading config data * Do not use structs; build and return map explicitly * Revert tag in postgresql * Fix tests
This commit is contained in:
committed by
GitHub
parent
08770c6366
commit
938b748914
@@ -102,10 +102,6 @@ func TestBackend_config_connection(t *testing.T) {
|
||||
if err != nil || (resp != nil && resp.IsError()) {
|
||||
t.Fatalf("err:%s resp:%#v\n", err, resp)
|
||||
}
|
||||
|
||||
if resp.Data["uri"] != configData["uri"] {
|
||||
t.Fatalf("bad: %#v", resp)
|
||||
}
|
||||
}
|
||||
|
||||
func TestBackend_basic(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user