Skip to content

Commit

Permalink
Fix linter errors in ca/ca.go
Browse files Browse the repository at this point in the history
  • Loading branch information
maraino committed Feb 14, 2024
1 parent 356e707 commit beea482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ca/ca.go
Expand Up @@ -46,7 +46,7 @@ type options struct {
sshHostPassword []byte
sshUserPassword []byte
database db.AuthDB
tlsConfig *tls.Config
tlsConfig *tls.Config
}

func (o *options) apply(opts []Option) {
Expand Down Expand Up @@ -108,7 +108,7 @@ func WithDatabase(d db.AuthDB) Option {
// WithTLSConfig sets the TLS configuration to be used by the HTTP(s) server
// spun by step-ca.
func WithTLSConfig(t *tls.Config) Option {
return func(o* options) {
return func(o *options) {
o.tlsConfig = t
}
}
Expand Down

0 comments on commit beea482

Please sign in to comment.