diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2021-08-09 20:09:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-09 20:09:16 +0000 |
commit | 6513adda185986c1994d2a2d354b874aee7543e6 (patch) | |
tree | 1a8e4242386622886caa4786af15417f0ced4821 /cmd/podman/shell_completion_test.go | |
parent | 431707c72044154b956944d00b1ba40b303decb2 (diff) | |
parent | 170fb257295027aeb6410b86e06c38086299d2e3 (diff) | |
download | podman-6513adda185986c1994d2a2d354b874aee7543e6.tar.gz podman-6513adda185986c1994d2a2d354b874aee7543e6.tar.bz2 podman-6513adda185986c1994d2a2d354b874aee7543e6.zip |
Merge pull request #11134 from rhatdan/buildx
Alias build to buildx, so it won't fail
Diffstat (limited to 'cmd/podman/shell_completion_test.go')
-rw-r--r-- | cmd/podman/shell_completion_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/shell_completion_test.go b/cmd/podman/shell_completion_test.go index 9bd821d8d..792beeb19 100644 --- a/cmd/podman/shell_completion_test.go +++ b/cmd/podman/shell_completion_test.go @@ -33,7 +33,9 @@ func TestShellCompletionFunctions(t *testing.T) { func checkCommand(t *testing.T, cmd *cobra.Command) { if cmd.HasSubCommands() { for _, childCmd := range cmd.Commands() { - checkCommand(t, childCmd) + if !childCmd.Hidden { + checkCommand(t, childCmd) + } } // if not check if completion for that command is provided |