From b2c868543777c4510a6e26748676e4da070e715d Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Tue, 14 Jul 2020 08:36:23 -0400 Subject: [PATCH] integration: use new constructor params for scope from images Signed-off-by: Alfredo Deza --- integration/fixture_image_language_pkgs_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration/fixture_image_language_pkgs_test.go b/integration/fixture_image_language_pkgs_test.go index ce7b68bad..3164e34f2 100644 --- a/integration/fixture_image_language_pkgs_test.go +++ b/integration/fixture_image_language_pkgs_test.go @@ -17,7 +17,8 @@ func TestLanguageImage(t *testing.T) { img, cleanup := testutils.GetFixtureImage(t, "docker-archive", "image-pkg-coverage") defer cleanup() - s, err := scope.NewImageScope(img, scope.AllLayersScope) + s, err := scope.NewScopeFromImage(img, scope.AllLayersScope) + catalog, err := cataloger.Catalog(s) if err != nil { t.Fatalf("failed to catalog image: %+v", err)