Skip to content

Commit

Permalink
chore: remove unused argument
Browse files Browse the repository at this point in the history
It does nothing.

Signed-off-by: Alexey Palazhchenko <[email protected]>
  • Loading branch information
AlekSi authored and talos-bot committed Jun 15, 2021
1 parent cd18ef6 commit 6bc5bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x509/x509.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ func NewSelfSignedCertificateAuthority(setters ...Option) (*CertificateAuthority
}

// NewCertificateAuthorityFromCertificateAndKey builds CertificateAuthority from PEMEncodedCertificateAndKey.
func NewCertificateAuthorityFromCertificateAndKey(p *PEMEncodedCertificateAndKey, setters ...Option) (*CertificateAuthority, error) {
func NewCertificateAuthorityFromCertificateAndKey(p *PEMEncodedCertificateAndKey) (*CertificateAuthority, error) {
ca := &CertificateAuthority{
CrtPEM: p.Crt,
KeyPEM: p.Key,
Expand Down

0 comments on commit 6bc5bb5

Please sign in to comment.