From cffdb69c5e8f25615f15a79bbb1b975a3e30cd76 Mon Sep 17 00:00:00 2001 From: Mathieu Champlon Date: Thu, 25 Nov 2021 19:15:46 +0100 Subject: [PATCH] Fix test config dir content Signed-off-by: Mathieu Champlon --- pkg/e2e/framework.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/e2e/framework.go b/pkg/e2e/framework.go index 1dd5a024f..d7ca8acaa 100644 --- a/pkg/e2e/framework.go +++ b/pkg/e2e/framework.go @@ -104,9 +104,9 @@ func newE2eCLI(t *testing.T, binDir string) *E2eCLI { } func dirContents(dir string) []string { - res := []string{} + var res []string _ = filepath.Walk(dir, func(path string, info os.FileInfo, err error) error { - res = append(res, filepath.Join(dir, path)) + res = append(res, path) return nil }) return res