mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Move config validation code to it's own, non ENT specific file (#11579)
* Move config validation code to it's own, non ENT specific file * Fix imports * import order
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/hashicorp/hcl/hcl/token"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
@@ -23,7 +22,7 @@ import (
|
||||
|
||||
// Config is the configuration for the vault server.
|
||||
type Config struct {
|
||||
UnusedKeys map[string][]token.Pos `hcl:",unusedKeyPositions"`
|
||||
UnusedKeys configutil.UnusedKeyMap `hcl:",unusedKeyPositions"`
|
||||
entConfig
|
||||
|
||||
*configutil.SharedConfig `hcl:"-"`
|
||||
|
||||
Reference in New Issue
Block a user