mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 12:58:02 +08:00
test(meta): add push-pull-read tests for metadb (#2022)
Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
This commit is contained in:
@@ -459,6 +459,12 @@ func (dwr *DynamoDB) SearchRepos(ctx context.Context, searchText string) ([]mTyp
|
||||
continue
|
||||
}
|
||||
|
||||
delete(protoRepoMeta.Tags, "")
|
||||
|
||||
if len(protoRepoMeta.Tags) == 0 {
|
||||
continue
|
||||
}
|
||||
|
||||
rank := common.RankRepoName(searchText, protoRepoMeta.Name)
|
||||
if rank == -1 {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user