Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
reegnz committed Oct 25, 2024
1 parent ce695e9 commit a8a841e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/vendir/fetch/git/git_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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")
})
Expand Down

0 comments on commit a8a841e

Please sign in to comment.