diff --git a/cmd/config/config.go b/cmd/config/config.go index f0aeae735..5440865a0 100644 --- a/cmd/config/config.go +++ b/cmd/config/config.go @@ -50,7 +50,6 @@ func NewConfigCommand(rootSettings *environment.AirshipCTLSettings) *cobra.Comma configRootCmd.AddCommand(NewImportCommand(rootSettings)) configRootCmd.AddCommand(NewInitCommand(rootSettings)) configRootCmd.AddCommand(NewUseContextCommand(rootSettings)) - configRootCmd.AddCommand(NewImportCommand(rootSettings)) return configRootCmd } diff --git a/cmd/config/testdata/TestConfigGoldenOutput/config-cmd-with-help.golden b/cmd/config/testdata/TestConfigGoldenOutput/config-cmd-with-help.golden index 77159c9b7..6650a6c9b 100644 --- a/cmd/config/testdata/TestConfigGoldenOutput/config-cmd-with-help.golden +++ b/cmd/config/testdata/TestConfigGoldenOutput/config-cmd-with-help.golden @@ -10,7 +10,6 @@ Available Commands: get-management-config View a management config or all management configs defined in the airshipctl config help Help about any command import Merge information from a kubernetes config file - import Merge information from a kubernetes config file init Generate initial configuration files for airshipctl set-cluster Manage clusters set-context Manage contexts