mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +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
|
package analyzer
|
||||||
|
|
||||||
import (
|
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/pkg"
|
||||||
"github.com/anchore/imgbom/imgbom/scope"
|
"github.com/anchore/imgbom/imgbom/scope"
|
||||||
"github.com/anchore/stereoscope/pkg/file"
|
"github.com/anchore/stereoscope/pkg/file"
|
||||||
|
@ -14,7 +14,7 @@ func init() {
|
||||||
controllerInstance = controller{
|
controllerInstance = controller{
|
||||||
analyzers: make([]Analyzer, 0),
|
analyzers: make([]Analyzer, 0),
|
||||||
}
|
}
|
||||||
controllerInstance.add(dummy.NewAnalyzer())
|
controllerInstance.add(dpkg.NewAnalyzer())
|
||||||
}
|
}
|
||||||
|
|
||||||
func Analyze(s scope.Scope) (pkg.Catalog, error) {
|
func Analyze(s scope.Scope) (pkg.Catalog, error) {
|
||||||
|
|
Loading…
Reference in a new issue