aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/portage/pkgcheck/parse.go')
-rw-r--r--pkg/portage/pkgcheck/parse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/portage/pkgcheck/parse.go b/pkg/portage/pkgcheck/parse.go
index ae7a3d2..6eab781 100644
--- a/pkg/portage/pkgcheck/parse.go
+++ b/pkg/portage/pkgcheck/parse.go
@@ -56,7 +56,7 @@ func UpdatePkgCheckResults() {
}
// clean up the database
- database.TruncateTable[models.PkgCheckResult]("id")
+ database.TruncateTable((*models.PkgCheckResult)(nil))
// update the database with the new results
rows := make([]*models.PkgCheckResult, 0, len(collected))