mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
VAULT-19237 Add mount_type to secret response (#23047)
* VAULT-19237 Add mount_type to secret response * VAULT-19237 changelog * VAULT-19237 make MountType generic * VAULT-19237 clean up comment * VAULT-19237 update changelog * VAULT-19237 update test, remove mounttype from wrapped responses * VAULT-19237 fix a lot of tests * VAULT-19237 standby test
This commit is contained in:
@@ -33,6 +33,7 @@ func TestSysInternal_UIMounts(t *testing.T) {
|
||||
"auth": map[string]interface{}{},
|
||||
"secret": map[string]interface{}{},
|
||||
},
|
||||
"mount_type": "",
|
||||
}
|
||||
testResponseBody(t, resp, &actual)
|
||||
expected["request_id"] = actual["request_id"]
|
||||
@@ -62,6 +63,7 @@ func TestSysInternal_UIMounts(t *testing.T) {
|
||||
"auth": nil,
|
||||
"lease_id": "",
|
||||
"renewable": false,
|
||||
"mount_type": "",
|
||||
"lease_duration": json.Number("0"),
|
||||
"data": map[string]interface{}{
|
||||
"secret": map[string]interface{}{
|
||||
|
||||
Reference in New Issue
Block a user