Skip to content

Commit

Permalink
Merge pull request #803 from jelly/search_registry_index
Browse files Browse the repository at this point in the history
libimage: Include Index in listTags response
  • Loading branch information
rhatdan committed Oct 7, 2021
2 parents b4976c9 + 5dd8ddc commit eaf9dd6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libimage/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,9 @@ func searchRepositoryTags(ctx context.Context, sys *types.SystemContext, registr
paramsArr := []SearchResult{}
for i := 0; i < limit; i++ {
params := SearchResult{
Name: imageRef.DockerReference().Name(),
Tag: tags[i],
Name: imageRef.DockerReference().Name(),
Tag: tags[i],
Index: registry,
}
paramsArr = append(paramsArr, params)
}
Expand Down

0 comments on commit eaf9dd6

Please sign in to comment.