pgsql: fix unchecked error
This commit is contained in:
parent
97b4b1ac33
commit
a57d806717
@ -159,6 +159,9 @@ func (tx *pgSession) CacheAffectedNamespacedFeatures(features []database.Namespa
|
||||
}
|
||||
|
||||
cache, err := tx.searchAffectingVulnerabilities(features)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
keys := make([]interface{}, len(cache)*3)
|
||||
for i, c := range cache {
|
||||
|
Loading…
Reference in New Issue
Block a user