ignore dbpackage not existing in repoPurge

This commit is contained in:
2021-11-20 00:06:44 +01:00
parent 7baccce64b
commit 66a21cba22

View File

@@ -458,7 +458,7 @@ func (b *BuildManager) repoWorker(repo string) {
}
if pkg.DbPackage != nil {
pkg.DbPackage = pkg.DbPackage.Update().ClearRepoVersion().SaveX(context.Background())
_ = pkg.DbPackage.Update().ClearRepoVersion().Exec(context.Background())
}
for _, file := range pkg.PkgFiles {