mirror of
https://github.com/anchore/grype
synced 2024-11-12 23:37:06 +00:00
test: update scope.FilesByGlob, it is now part of Resolver
Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
parent
b8e9431f89
commit
b0c6dc2fb1
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ import (
|
|||
|
||||
func getPackagesByPath(t *testing.T, theScope scope.Scope, catalog *pkg.Catalog, thePath string) []*pkg.Package {
|
||||
t.Helper()
|
||||
refs, err := theScope.FilesByGlob(thePath)
|
||||
refs, err := theScope.Resolver.FilesByGlob(thePath)
|
||||
if err != nil {
|
||||
t.Fatalf("could not get ref by path %q: %+v", thePath, err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue