mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 02:28:09 +00:00 
			
		
		
		
	replace global vault handlers with newVaultHandlers() (#27515)
This commit is contained in:
		| @@ -122,10 +122,11 @@ func testVaultServerWithKVVersion(tb testing.TB, kvVersion string) (*api.Client, | ||||
| func testVaultServerAllBackends(tb testing.TB) (*api.Client, func()) { | ||||
| 	tb.Helper() | ||||
|  | ||||
| 	handlers := newVaultHandlers() | ||||
| 	client, _, closer := testVaultServerCoreConfig(tb, &vault.CoreConfig{ | ||||
| 		CredentialBackends: credentialBackends, | ||||
| 		AuditBackends:      auditBackends, | ||||
| 		LogicalBackends:    logicalBackends, | ||||
| 		CredentialBackends: handlers.credentialBackends, | ||||
| 		AuditBackends:      handlers.auditBackends, | ||||
| 		LogicalBackends:    handlers.logicalBackends, | ||||
| 		BuiltinRegistry:    builtinplugins.Registry, | ||||
| 	}) | ||||
| 	return client, closer | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Thy Ton
					Thy Ton