From f2c775dc4bb81728ef286b5366b60acc91a2e1e4 Mon Sep 17 00:00:00 2001 From: Hans Hasselberg Date: Tue, 13 Sep 2022 18:50:42 +0200 Subject: [PATCH] remove duplicated flag registering (#11) --- cli/cmd/install/install.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cli/cmd/install/install.go b/cli/cmd/install/install.go index 5476bfabe6..ab2787f800 100644 --- a/cli/cmd/install/install.go +++ b/cli/cmd/install/install.go @@ -203,12 +203,6 @@ func (c *Command) init() { Default: "", Usage: "Set the Kubernetes context to use.", }) - f.StringVar(&flag.StringVar{ - Name: flagHCPResourceID, - Target: &c.flagHCPResourceID, - Default: "", - Usage: "Set the HCP resource_id when using the 'cloud' preset.", - }) c.help = c.set.Help() }