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 != "" {