Skip to content

Commit

Permalink
Fix Wire mock CA interface implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
hslatman committed Mar 4, 2024
1 parent 364566b commit 755ae0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acme/api/wire_integration_test.go
Expand Up @@ -591,7 +591,7 @@ type mockCASigner struct {
signer func(*x509.CertificateRequest, provisioner.SignOptions, ...provisioner.SignOption) ([]*x509.Certificate, error)
}

func (m *mockCASigner) Sign(cr *x509.CertificateRequest, opts provisioner.SignOptions, signOpts ...provisioner.SignOption) ([]*x509.Certificate, error) {
func (m *mockCASigner) SignWithContext(_ context.Context, cr *x509.CertificateRequest, opts provisioner.SignOptions, signOpts ...provisioner.SignOption) ([]*x509.Certificate, error) {
if m.signer == nil {
return nil, errors.New("unimplemented")
}
Expand Down

0 comments on commit 755ae0b

Please sign in to comment.