From 71067d291fee4ea87ec8cc00e43f761870dd2fc0 Mon Sep 17 00:00:00 2001 From: John-Michael Faircloth Date: Fri, 13 Oct 2023 10:19:26 -0500 Subject: [PATCH] remove unused param from entEnableFourClusterDev (#23647) --- command/command_stubs_oss.go | 2 +- command/server.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/command/command_stubs_oss.go b/command/command_stubs_oss.go index 7f824bc2c4..4d9c1fba61 100644 --- a/command/command_stubs_oss.go +++ b/command/command_stubs_oss.go @@ -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 } diff --git a/command/server.go b/command/server.go index 804ed511fa..4acee8a045 100644 --- a/command/server.go +++ b/command/server.go @@ -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 != "" {