27bb03bbc0
* adding copyright header * fix fmt and a test
28 lines
559 B
Go
28 lines
559 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package command
|
|
|
|
import (
|
|
"github.com/hashicorp/vault/command/server"
|
|
"github.com/hashicorp/vault/vault"
|
|
)
|
|
|
|
var (
|
|
adjustCoreConfigForEnt = adjustCoreConfigForEntNoop
|
|
storageSupportedForEnt = checkStorageTypeForEntNoop
|
|
)
|
|
|
|
func adjustCoreConfigForEntNoop(config *server.Config, coreConfig *vault.CoreConfig) {
|
|
}
|
|
|
|
var getFIPSInfoKey = getFIPSInfoKeyNoop
|
|
|
|
func getFIPSInfoKeyNoop() string {
|
|
return ""
|
|
}
|
|
|
|
func checkStorageTypeForEntNoop(coreConfig *vault.CoreConfig) bool {
|
|
return true
|
|
}
|