Fix linter errors in ca/ca.go

pull/1685/head
Mariano Cano 3 months ago
parent 356e7070ef
commit beea482a0c
No known key found for this signature in database

@ -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) {
@ -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
}
}

Loading…
Cancel
Save