diff options
author | Ralf Haferkamp <rhafer@suse.com> | 2020-07-31 13:16:20 +0200 |
---|---|---|
committer | Ralf Haferkamp <rhafer@suse.com> | 2020-07-31 15:39:57 +0200 |
commit | 54256fbe7881894063f27e19e7dc63cb7c358e0c (patch) | |
tree | 628d51d16339904d9ef1c9125646b1f17c8e0085 /pkg/api/server/register_images.go | |
parent | bcbb5f9963e9b08ddaeb895d074e98f176a39bc0 (diff) | |
download | podman-54256fbe7881894063f27e19e7dc63cb7c358e0c.tar.gz podman-54256fbe7881894063f27e19e7dc63cb7c358e0c.tar.bz2 podman-54256fbe7881894063f27e19e7dc63cb7c358e0c.zip |
Make `search --no-trunc` work for podman remote
The HTTP API for image search was still lacking support of the NoTrunc
parameter.
Signed-off-by: Ralf Haferkamp <rhafer@suse.com>
Diffstat (limited to 'pkg/api/server/register_images.go')
-rw-r--r-- | pkg/api/server/register_images.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go index 7f060d098..cb4ce4fe7 100644 --- a/pkg/api/server/register_images.go +++ b/pkg/api/server/register_images.go @@ -972,6 +972,10 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error { // type: integer // description: maximum number of results // - in: query + // name: noTrunc + // type: boolean + // description: do not truncate any of the result strings + // - in: query // name: filters // type: string // description: | |