mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-21 11:38:59 +02:00
💄 fix lint
This commit is contained in:
@@ -211,7 +211,7 @@ func validateParamsRequired(config *Config) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetTLSConfigCrowdsec get TLS config from Config
|
// GetTLSConfigCrowdsec get TLS config from Config.
|
||||||
func GetTLSConfigCrowdsec(config *Config) (*tls.Config, error) {
|
func GetTLSConfigCrowdsec(config *Config) (*tls.Config, error) {
|
||||||
tlsConfig := new(tls.Config)
|
tlsConfig := new(tls.Config)
|
||||||
tlsConfig.RootCAs = x509.NewCertPool()
|
tlsConfig.RootCAs = x509.NewCertPool()
|
||||||
|
|||||||
Reference in New Issue
Block a user