fix(search): fix -Si crash when using metadata engine (#2146)

fix missing By query in metadata search
This commit is contained in:
Jo 2023-05-01 14:52:43 +02:00 committed by GitHub
parent b51c10ca3e
commit c721fe7f3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,7 @@ func syncInfo(ctx context.Context, cfg *settings.Configuration,
info, err = cfg.Runtime.AURCache.Get(ctx, &aur.Query{
Needles: noDB,
By: aur.Name,
})
if err != nil {
missing = true