mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
VAULT-17078: Add useEventLogger Argument to Audit Factory Functions (#21962)
* add useEventLogger argument to audit Factory functions * adjusting Factory functions defined in tests * fixup! adjusting Factory functions defined in tests
This commit is contained in:
@@ -482,7 +482,7 @@ func TestLogical_Audit_invalidWrappingToken(t *testing.T) {
|
||||
noop := corehelpers.TestNoopAudit(t, nil)
|
||||
c, _, root := vault.TestCoreUnsealedWithConfig(t, &vault.CoreConfig{
|
||||
AuditBackends: map[string]audit.Factory{
|
||||
"noop": func(ctx context.Context, config *audit.BackendConfig) (audit.Backend, error) {
|
||||
"noop": func(ctx context.Context, config *audit.BackendConfig, _ bool) (audit.Backend, error) {
|
||||
return noop, nil
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user