mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 02:26:42 +01:00
replace dummy analyzer for the new dpkg one
Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
parent
61139007ca
commit
888cee3336
@ -1,7 +1,7 @@
|
||||
package analyzer
|
||||
|
||||
import (
|
||||
"github.com/anchore/imgbom/imgbom/analyzer/dummy"
|
||||
"github.com/anchore/imgbom/imgbom/analyzer/dpkg"
|
||||
"github.com/anchore/imgbom/imgbom/pkg"
|
||||
"github.com/anchore/imgbom/imgbom/scope"
|
||||
"github.com/anchore/stereoscope/pkg/file"
|
||||
@ -14,7 +14,7 @@ func init() {
|
||||
controllerInstance = controller{
|
||||
analyzers: make([]Analyzer, 0),
|
||||
}
|
||||
controllerInstance.add(dummy.NewAnalyzer())
|
||||
controllerInstance.add(dpkg.NewAnalyzer())
|
||||
}
|
||||
|
||||
func Analyze(s scope.Scope) (pkg.Catalog, error) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user