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:
@@ -77,10 +77,10 @@ func Test_ValidateParams(t *testing.T) {
|
|||||||
cfg5 := getMinimalConfig()
|
cfg5 := getMinimalConfig()
|
||||||
cfg5.ClientTrustedIPs = []string{0: "bad"}
|
cfg5.ClientTrustedIPs = []string{0: "bad"}
|
||||||
cfg6 := getMinimalConfig()
|
cfg6 := getMinimalConfig()
|
||||||
cfg6.CrowdsecLapiScheme = Https
|
cfg6.CrowdsecLapiScheme = HTTPS
|
||||||
cfg6.CrowdsecLapiTLSInsecureVerify = true
|
cfg6.CrowdsecLapiTLSInsecureVerify = true
|
||||||
cfg8 := getMinimalConfig()
|
cfg8 := getMinimalConfig()
|
||||||
cfg8.CrowdsecLapiScheme = Https
|
cfg8.CrowdsecLapiScheme = HTTPS
|
||||||
type args struct {
|
type args struct {
|
||||||
config *Config
|
config *Config
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user