mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
Run a more strict formatter over the code (#11312)
* Update tooling * Run gofumpt * go mod vendor
This commit is contained in:
@@ -60,8 +60,10 @@ var defaultPredictVaultMounts = []string{"cubbyhole/"}
|
||||
// doesn't change), and the only way to configure the predict/autocomplete
|
||||
// client is via environment variables. Even if the user specifies a flag, we
|
||||
// can't parse that flag until after the command is submitted.
|
||||
var predictClient *api.Client
|
||||
var predictClientOnce sync.Once
|
||||
var (
|
||||
predictClient *api.Client
|
||||
predictClientOnce sync.Once
|
||||
)
|
||||
|
||||
// PredictClient returns the cached API client for the predictor.
|
||||
func PredictClient() *api.Client {
|
||||
|
||||
Reference in New Issue
Block a user