summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/images_search.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-10-12 22:17:09 +0200
committerGitHub <noreply@github.com>2021-10-12 22:17:09 +0200
commit72e87c0ca89701e76148c192c98754af305f09d1 (patch)
tree4b75874d2097c54093108676283c4a062ca29adf /pkg/api/handlers/compat/images_search.go
parent97c74f35a130ea512af2572e6dad43971d14e827 (diff)
parentb28a8bc198169c88536160e1814e196e4723322e (diff)
downloadpodman-72e87c0ca89701e76148c192c98754af305f09d1.tar.gz
podman-72e87c0ca89701e76148c192c98754af305f09d1.tar.bz2
podman-72e87c0ca89701e76148c192c98754af305f09d1.zip
Merge pull request #11924 from jwhonce/issues/11894
Refactor podman search to be more code friendly
Diffstat (limited to 'pkg/api/handlers/compat/images_search.go')
-rw-r--r--pkg/api/handlers/compat/images_search.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/api/handlers/compat/images_search.go b/pkg/api/handlers/compat/images_search.go
index 01282513e..e9cc3e2b6 100644
--- a/pkg/api/handlers/compat/images_search.go
+++ b/pkg/api/handlers/compat/images_search.go
@@ -22,7 +22,6 @@ func SearchImages(w http.ResponseWriter, r *http.Request) {
query := struct {
Term string `json:"term"`
Limit int `json:"limit"`
- NoTrunc bool `json:"noTrunc"`
Filters map[string][]string `json:"filters"`
TLSVerify bool `json:"tlsVerify"`
ListTags bool `json:"listTags"`
@@ -50,7 +49,6 @@ func SearchImages(w http.ResponseWriter, r *http.Request) {
options := entities.ImageSearchOptions{
Authfile: authfile,
Limit: query.Limit,
- NoTrunc: query.NoTrunc,
ListTags: query.ListTags,
Filters: filters,
}