Fix panic when performing incremental database updates
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Elara 2023-02-01 11:55:22 -08:00
parent 681e31df4e
commit 6c6a7152b4
1 changed files with 3 additions and 0 deletions

View File

@ -285,6 +285,9 @@ func processRepoChanges(ctx context.Context, repo types.Repo, r *git.Repository,
}
pkg := db.Package{
Description: db.NewJSON(map[string]string{}),
Homepage: db.NewJSON(map[string]string{}),
Maintainer: db.NewJSON(map[string]string{}),
Depends: db.NewJSON(map[string][]string{}),
BuildDepends: db.NewJSON(map[string][]string{}),
Repository: repo.Name,