chore: fix some typos in comments (#1897)

Signed-off-by: deferdeter <deferdeter@outlook.com>
This commit is contained in:
deferdeter
2024-04-16 18:14:00 +08:00
committed by GitHub
parent a6cafabfb8
commit cfbe47bd99
6 changed files with 6 additions and 6 deletions

View File

@@ -111,7 +111,7 @@ func TestSyslogWriterEncodeSyslog(t *testing.T) {
for j, m := range messages {
e := tt.expectedMessages[j]
if e != m {
t.Errorf("test: %d, Messsage %d: \nexpected %s \nactual %s", i, j, e, m)
t.Errorf("test: %d, Message %d: \nexpected %s \nactual %s", i, j, e, m)
}
}
}

View File

@@ -723,7 +723,7 @@ func getPlusDiffCves(previous, current models.ScanResult) models.VulnInfos {
// TODO commented out because a bug of diff logic when multiple oval defs found for a certain CVE-ID and same updated_at
// if these OVAL defs have different affected packages, this logic detects as updated.
// This logic will be uncomented after integration with gost https://github.com/vulsio/gost
// This logic will be uncommented after integration with gost https://github.com/vulsio/gost
// } else if isCveFixed(v, previous) {
// updated[v.CveID] = v
// logging.Log.Debugf("fixed: %s", v.CveID)