mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-22 23:26:39 -08:00
refactor: add a new interface for initializing analyzers (#2835)
Signed-off-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
@@ -92,7 +92,7 @@ func TestManager_Register(t *testing.T) {
|
||||
}()
|
||||
|
||||
// Confirm the analyzer is registered
|
||||
a, err := analyzer.NewAnalyzerGroup("", nil, nil)
|
||||
a, err := analyzer.NewAnalyzerGroup(analyzer.AnalyzerOptions{})
|
||||
require.NoError(t, err)
|
||||
|
||||
got := a.AnalyzerVersions()
|
||||
|
||||
Reference in New Issue
Block a user