Add gosimple linter (#23250)
#23249 Add gosimple linter to golangci-lint CI job.
This commit is contained in:
@@ -77,9 +77,7 @@ func Analyze(
|
||||
return nil, err
|
||||
}
|
||||
var existing []fleet.OSVulnerability
|
||||
for _, osv := range osVulns {
|
||||
existing = append(existing, osv)
|
||||
}
|
||||
existing = append(existing, osVulns...)
|
||||
|
||||
// Compute what needs to be inserted/deleted for this batch
|
||||
insrt, del := utils.VulnsDelta(found, existing)
|
||||
|
||||
Reference in New Issue
Block a user