open-vault/command/server_util.go

25 lines
489 B
Go
Raw Normal View History

2018-10-23 06:34:02 +00:00
package command
import (
"github.com/hashicorp/vault/command/server"
2018-10-23 06:34:02 +00:00
"github.com/hashicorp/vault/vault"
)
var (
adjustCoreConfigForEnt = adjustCoreConfigForEntNoop
checkStorageTypeForEnt = checkStorageTypeForEntNoop
)
2018-10-23 06:34:02 +00:00
2020-02-15 00:39:13 +00:00
func adjustCoreConfigForEntNoop(config *server.Config, coreConfig *vault.CoreConfig) {
}
var getFIPSInfoKey = getFIPSInfoKeyNoop
func getFIPSInfoKeyNoop() string {
return ""
}
func checkStorageTypeForEntNoop(coreConfig *vault.CoreConfig) error {
return nil
}