mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
events: Enable by default, disable flag (#22815)
The flag `events.alpha1` will no longer do anything, but we keep it to prevent breaking users who have it in their configurations or startup flags, or if it is referenced in other code.
This commit is contained in:
committed by
GitHub
parent
9af1c4a183
commit
7f7907d3a0
@@ -1176,6 +1176,12 @@ func (c *ServerCommand) Run(args []string) int {
|
||||
return 1
|
||||
}
|
||||
|
||||
for _, experiment := range config.Experiments {
|
||||
if experiments.IsUnused(experiment) {
|
||||
c.UI.Warn(fmt.Sprintf("WARNING! Experiment %s is no longer used", experiment))
|
||||
}
|
||||
}
|
||||
|
||||
// If mlockall(2) isn't supported, show a warning. We disable this in dev
|
||||
// because it is quite scary to see when first using Vault. We also disable
|
||||
// this if the user has explicitly disabled mlock in configuration.
|
||||
|
||||
Reference in New Issue
Block a user