Merge pull request #695 from saromanov/fix-unchecked-error
pgsql: fix unchecked error
This commit is contained in:
commit
f7e54c1a28
@ -163,6 +163,9 @@ func (tx *pgSession) CacheAffectedNamespacedFeatures(features []database.Namespa
|
||||
}
|
||||
|
||||
cache, err := tx.searchAffectingVulnerabilities(features)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
keys := make([]interface{}, 0, len(cache)*3)
|
||||
for _, c := range cache {
|
||||
|
Loading…
Reference in New Issue
Block a user