You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal/frontend, internal/vuln: replace getVulnEntries with vuln.Client
Instead of passing around a function, getVulnEntries, pass the actual
vuln client and call it directly.
Update the TestClient to implement the GetByModules function so that
tests can use it.
The purpose of this change is to further isolate calls to the vulndb
Client to the internal/vuln package, and to make the code easier to
understand by removing a function parameter.
For golang/go#58928
Change-Id: I8bef528034a1caa44b99da2f185990338ec9cd5f
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/474537
Reviewed-by: Jamal Carvalho <[email protected]>
Run-TryBot: Tatiana Bradley <[email protected]>
TryBot-Result: kokoro <[email protected]>
0 commit comments