database: Fix invalid error message

This commit is contained in:
Quentin Machu 2016-03-18 12:23:54 -04:00
parent 093107c6d8
commit 79ba99bbea

View File

@ -152,7 +152,7 @@ func (pgSQL *pgSQL) loadLayerIntroducingVulnerability(vulnerability *database.Vu
rows, err := pgSQL.Query(searchNotificationLayerIntroducingVulnerability,
vulnerability.ID, startID, limit+1)
if err != nil {
return 0, handleError("searchVulnerabilityFixedInFeature", err)
return 0, handleError("searchNotificationLayerIntroducingVulnerability", err)
}
defer rows.Close()