mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-19 02:49:18 -05:00
remove unused param from entEnableFourClusterDev (#23647)
This commit is contained in:
parent
1b2b647b21
commit
71067d291f
2 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ import (
|
|||
func entInitCommands(ui, serverCmdUi cli.Ui, runOpts *RunOptions, commands map[string]cli.CommandFactory) {
|
||||
}
|
||||
|
||||
func entEnableFourClusterDev(c *ServerCommand, base *vault.CoreConfig, info map[string]string, infoKeys []string, devListenAddress, tempDir string) int {
|
||||
func entEnableFourClusterDev(c *ServerCommand, base *vault.CoreConfig, info map[string]string, infoKeys []string, tempDir string) int {
|
||||
c.logger.Error("-dev-four-cluster only supported in enterprise Vault")
|
||||
return 1
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1321,7 +1321,7 @@ func (c *ServerCommand) Run(args []string) int {
|
|||
c.SubloggerAdder = &coreConfig
|
||||
|
||||
if c.flagDevFourCluster {
|
||||
return entEnableFourClusterDev(c, &coreConfig, info, infoKeys, c.flagDevListenAddr, os.Getenv("VAULT_DEV_TEMP_DIR"))
|
||||
return entEnableFourClusterDev(c, &coreConfig, info, infoKeys, os.Getenv("VAULT_DEV_TEMP_DIR"))
|
||||
}
|
||||
|
||||
if allowPendingRemoval := os.Getenv(consts.EnvVaultAllowPendingRemovalMounts); allowPendingRemoval != "" {
|
||||
|
|
|
|||
Loading…
Reference in a new issue