Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nklaassen committed Oct 5, 2024
1 parent 05a9322 commit a75dfb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/proxy/router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ func TestRouter_DialHost(t *testing.T) {
agentGetter := func() (teleagent.Agent, error) {
return nil, nil
}
createSigner := func(_ context.Context, _ agentless.CertGenerator) (ssh.Signer, error) {
createSigner := func(_ context.Context, _ agentless.LocalAccessPoint, _ agentless.CertGenerator) (ssh.Signer, error) {
key, err := cryptosuites.GenerateKeyWithAlgorithm(cryptosuites.Ed25519)
if err != nil {
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion lib/srv/transport/transportv1/transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func newServer(t *testing.T, cfg ServerConfig) testPack {
}

func fakeSigner(authzCtx *authz.Context, clusterName string) agentless.SignerCreator {
return func(_ context.Context, _ agentless.CertGenerator) (ssh.Signer, error) {
return func(_ context.Context, _ agentless.LocalAccessPoint, _ agentless.CertGenerator) (ssh.Signer, error) {
return nil, nil
}
}
Expand Down

0 comments on commit a75dfb5

Please sign in to comment.