Skip to content

Commit 6bc5bb5

Browse files
AlekSitalos-bot
authored andcommitted
chore: remove unused argument
It does nothing. Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
1 parent cd18ef6 commit 6bc5bb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x509/x509.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ func NewSelfSignedCertificateAuthority(setters ...Option) (*CertificateAuthority
262262
}
263263

264264
// NewCertificateAuthorityFromCertificateAndKey builds CertificateAuthority from PEMEncodedCertificateAndKey.
265-
func NewCertificateAuthorityFromCertificateAndKey(p *PEMEncodedCertificateAndKey, setters ...Option) (*CertificateAuthority, error) {
265+
func NewCertificateAuthorityFromCertificateAndKey(p *PEMEncodedCertificateAndKey) (*CertificateAuthority, error) {
266266
ca := &CertificateAuthority{
267267
CrtPEM: p.Crt,
268268
KeyPEM: p.Key,

0 commit comments

Comments
 (0)