diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-05-28 12:14:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-28 12:14:42 +0200 |
commit | aa1e15961ee749378e2da2537679498cc9ecd97d (patch) | |
tree | ed6e4ef547f6700ed7fa2ed2b44363c5c9021cc2 /cmd/podman/images/search.go | |
parent | 3d8f37120d95c9a2d3293acdea6ab01a4c066806 (diff) | |
parent | 33944cefe7c1f3e11c8389bedb3e4c80af8541bd (diff) | |
download | podman-aa1e15961ee749378e2da2537679498cc9ecd97d.tar.gz podman-aa1e15961ee749378e2da2537679498cc9ecd97d.tar.bz2 podman-aa1e15961ee749378e2da2537679498cc9ecd97d.zip |
Merge pull request #10385 from jwhonce/wip/engine_mode
[Techinal Debt][NO TESTS NEEDED] Cleanup ABI vs. Tunnel CLI commands
Diffstat (limited to 'cmd/podman/images/search.go')
-rw-r--r-- | cmd/podman/images/search.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cmd/podman/images/search.go b/cmd/podman/images/search.go index a3cfa983f..08bf3cf6b 100644 --- a/cmd/podman/images/search.go +++ b/cmd/podman/images/search.go @@ -38,7 +38,6 @@ var ( Users can limit the number of results, and filter the output based on certain conditions.` - // Command: podman search searchCmd = &cobra.Command{ Use: "search [options] TERM", Short: "Search registry for image", @@ -51,14 +50,12 @@ var ( podman search --format "table {{.Index}} {{.Name}}" registry.fedoraproject.org/fedora`, } - // Command: podman image search imageSearchCmd = &cobra.Command{ Use: searchCmd.Use, Short: searchCmd.Short, Long: searchCmd.Long, RunE: searchCmd.RunE, Args: searchCmd.Args, - Annotations: searchCmd.Annotations, ValidArgsFunction: searchCmd.ValidArgsFunction, Example: `podman image search --filter=is-official --limit 3 alpine podman image search registry.fedoraproject.org/ # only works with v2 registries @@ -67,16 +64,12 @@ var ( ) func init() { - // search registry.Commands = append(registry.Commands, registry.CliCommand{ - Mode: []entities.EngineMode{entities.ABIMode, entities.TunnelMode}, Command: searchCmd, }) searchFlags(searchCmd) - // images search registry.Commands = append(registry.Commands, registry.CliCommand{ - Mode: []entities.EngineMode{entities.ABIMode, entities.TunnelMode}, Command: imageSearchCmd, Parent: imageCmd, }) |