diff options
author | 2020-04-20 13:26:21 +0200 | |
---|---|---|
committer | 2020-04-20 13:26:21 +0200 | |
commit | eb3710c2671246889b8d45b752cb251c02349aad (patch) | |
tree | ee0acd0d9afd8cc133c10122fa188788401c0b34 /pkg/cveimport | |
parent | Correctly display the user name in comments (diff) | |
download | glsamaker-eb3710c2671246889b8d45b752cb251c02349aad.tar.gz glsamaker-eb3710c2671246889b8d45b752cb251c02349aad.tar.bz2 glsamaker-eb3710c2671246889b8d45b752cb251c02349aad.zip |
Add a page to manually enter a cve
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'pkg/cveimport')
-rw-r--r-- | pkg/cveimport/update.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/cveimport/update.go b/pkg/cveimport/update.go index a15e447..8dcf454 100644 --- a/pkg/cveimport/update.go +++ b/pkg/cveimport/update.go @@ -82,6 +82,7 @@ func importCVEs(year string) { } } cveitem.Description = description + cveitem.ManuallyCreated = false _, err := connection.DB.Model(cveitem).OnConflict("(id) DO UPDATE").Insert() if err != nil { |