Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: David Fridrich <fridrich.david19@gmail.com>
  • Loading branch information
gauron99 committed Nov 26, 2024
1 parent 497f6ee commit f10328b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/pipelines/tekton/gitlab_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func TestGitlab(t *testing.T) {
t.Fatal(err)
}

credentialsProvider := func(ctx context.Context, image string) (docker.Credentials, error) {
credentialsProvider := func(ctx context.Context, f fn.Function) (docker.Credentials, error) {
return docker.Credentials{
Username: "",
Password: "",
Expand Down
2 changes: 1 addition & 1 deletion pkg/pipelines/tekton/pipelines_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
. "knative.dev/func/pkg/testing"
)

var testCP = func(_ context.Context, _ string) (docker.Credentials, error) {
var testCP = func(_ context.Context, _ fn.Function) (docker.Credentials, error) {
return docker.Credentials{
Username: "",
Password: "",
Expand Down

0 comments on commit f10328b

Please sign in to comment.