mirror of
https://github.com/anchore/syft
synced 2024-09-20 06:01:53 +00: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 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue