Start process of replacing init-style ent hooks with stubmaker. (#23545)

This commit is contained in:
Nick Cabatoff
2023-10-06 09:52:50 -04:00
committed by GitHub
parent 60f6c40202
commit 7e249707c1
6 changed files with 48 additions and 0 deletions

View File

@@ -9,13 +9,16 @@ import (
)
var (
// TODO remove once entAdjustCoreConfig has replaced it
adjustCoreConfigForEnt = adjustCoreConfigForEntNoop
// TODO remove once entCheckStorageType has replaced it
storageSupportedForEnt = checkStorageTypeForEntNoop
)
func adjustCoreConfigForEntNoop(config *server.Config, coreConfig *vault.CoreConfig) {
}
// TODO remove once entGetFIPSInfoKey has replaced it
var getFIPSInfoKey = getFIPSInfoKeyNoop
func getFIPSInfoKeyNoop() string {