diff options
author | Ralf Haferkamp <rhafer@suse.com> | 2020-07-29 10:56:00 +0200 |
---|---|---|
committer | Ralf Haferkamp <rhafer@suse.com> | 2020-07-29 10:58:56 +0200 |
commit | cf5c63b5c492e41d72b6e3b6d75b5f39b0a957fd (patch) | |
tree | 2cca5d08841c5f7060b2e221c9bb209fb353b481 | |
parent | 7f0c0941e84eece3d0e6cc62acc257e1ed33ef2a (diff) | |
download | podman-cf5c63b5c492e41d72b6e3b6d75b5f39b0a957fd.tar.gz podman-cf5c63b5c492e41d72b6e3b6d75b5f39b0a957fd.tar.bz2 podman-cf5c63b5c492e41d72b6e3b6d75b5f39b0a957fd.zip |
Fix `podman image search` missing description
`podman image search` returned wrong results for the image "Description" as
it was mapped to the wrong field ("ID") in the search results.
Signed-off-by: Ralf Haferkamp <rhafer@suse.com>
-rw-r--r-- | pkg/domain/infra/abi/images.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go index 10ec7f8f3..05adc40fe 100644 --- a/pkg/domain/infra/abi/images.go +++ b/pkg/domain/infra/abi/images.go @@ -520,7 +520,7 @@ func (ir *ImageEngine) Search(ctx context.Context, term string, opts entities.Im for i := range searchResults { reports[i].Index = searchResults[i].Index reports[i].Name = searchResults[i].Name - reports[i].Description = searchResults[i].Index + reports[i].Description = searchResults[i].Description reports[i].Stars = searchResults[i].Stars reports[i].Official = searchResults[i].Official reports[i].Automated = searchResults[i].Automated |