Skip to content

Commit

Permalink
Fix podman image search missing description
Browse files Browse the repository at this point in the history
`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 <[email protected]>
  • Loading branch information
rhafer committed Jul 29, 2020
1 parent 7f0c094 commit cf5c63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/domain/infra/abi/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf5c63b

Please sign in to comment.