From a8a841ef634ef251bf97c5ea765efd7a88cd8d38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Reegn?= Date: Fri, 25 Oct 2024 14:48:07 +0200 Subject: [PATCH] fix lint errors --- pkg/vendir/fetch/git/git_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/vendir/fetch/git/git_test.go b/pkg/vendir/fetch/git/git_test.go index 3ccdd286..b7c0517b 100644 --- a/pkg/vendir/fetch/git/git_test.go +++ b/pkg/vendir/fetch/git/git_test.go @@ -31,7 +31,7 @@ func TestGit_Retrieve(t *testing.T) { Ref: "origin/main", SecretRef: &config.DirectoryContentsLocalRef{Name: "some-secret"}, ForceHTTPBasicAuth: true, - }, os.Stdout, secretFetcher, runner) + }, config.ContentPaths{}, os.Stdout, secretFetcher, runner) _, err := gitRetriever.Retrieve("", &tmpFolder{t}, "") require.NoError(t, err) isPresent := false @@ -61,7 +61,7 @@ func TestGit_Retrieve(t *testing.T) { Ref: "origin/main", SecretRef: &config.DirectoryContentsLocalRef{Name: "some-secret"}, ForceHTTPBasicAuth: true, - }, os.Stdout, secretFetcher, runner) + }, config.ContentPaths{}, os.Stdout, secretFetcher, runner) _, err := gitRetriever.Retrieve("", &tmpFolder{t}, "") require.ErrorContains(t, err, "Username/password authentication is only supported for https remotes") })