mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +00:00
VAULT-24798: audit - improve error messages (#26312)
* audit: remove 'op' from error messages and do some clean up * Allow early error checking to be concerned with vault/Core vs. audit
This commit is contained in:
@@ -33,7 +33,7 @@ func TestOptions_WithFormat(t *testing.T) {
|
||||
"invalid-test": {
|
||||
Value: "test",
|
||||
IsErrorExpected: true,
|
||||
ExpectedErrorMessage: "audit.(format).validate: 'test' is not a valid format: invalid parameter",
|
||||
ExpectedErrorMessage: "invalid format \"test\": invalid internal parameter",
|
||||
},
|
||||
"valid-json": {
|
||||
Value: "json",
|
||||
|
||||
Reference in New Issue
Block a user