Skip to content

Commit

Permalink
pluralize options funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
aybabtme committed Sep 15, 2020
1 parent c65e3d1 commit a808759
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions v2/spiffetls/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ func WithDialTLSConfigBase(base *tls.Config) DialOption {
})
}

// WithDialTLSOption provides options to use for the TLS config.
func WithDialTLSOption(opts ...tlsconfig.Option) DialOption {
// WithDialTLSOptions provides options to use for the TLS config.
func WithDialTLSOptions(opts ...tlsconfig.Option) DialOption {
return dialOption(func(c *dialConfig) {
c.tlsoptions = opts
})
Expand Down Expand Up @@ -76,8 +76,8 @@ func WithListenTLSConfigBase(base *tls.Config) ListenOption {
})
}

// WithListenTLSOption provides options to use when doing Server mTLS.
func WithListenTLSOption(opts ...tlsconfig.Option) ListenOption {
// WithListenTLSOptions provides options to use when doing Server mTLS.
func WithListenTLSOptions(opts ...tlsconfig.Option) ListenOption {
return listenOption(func(c *listenConfig) {
c.tlsoptions = opts
})
Expand Down

0 comments on commit a808759

Please sign in to comment.