remove duplicate commands in main

kube was erronously being added as main subcommand multiple
times. it should not be a subcommand as it should live under
either play or generate.

also removing the addition of the volume command from the commands.go
to eliminate a duplicate.

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude
2019-02-25 08:54:11 -06:00
parent 9e70411ffc
commit 06cbf60d41
2 changed files with 0 additions and 4 deletions

View File

@@ -17,7 +17,6 @@ func getMainCommands() []*cobra.Command {
_diffCommand,
_execCommand,
_generateCommand,
_containerKubeCommand,
_playCommand,
_psCommand,
_loginCommand,
@@ -39,7 +38,6 @@ func getMainCommands() []*cobra.Command {
_topCommand,
_umountCommand,
_unpauseCommand,
volumeCommand.Command,
_waitCommand,
}