fix loop

This commit is contained in:
Max Lerebourg
2022-10-01 19:12:48 +02:00
parent 68adb31065
commit 89e8b5631e
+2 -3
View File
@@ -58,8 +58,8 @@ func CreateConfig() *Config {
CrowdsecCapiLogin: "", CrowdsecCapiLogin: "",
CrowdsecCapiPwd: "", CrowdsecCapiPwd: "",
CrowdsecCapiScenarios: []string{}, CrowdsecCapiScenarios: []string{},
UpdateIntervalSeconds: 10, UpdateIntervalSeconds: 60,
DefaultDecisionSeconds: 10, DefaultDecisionSeconds: 60,
} }
} }
@@ -71,7 +71,6 @@ type Bouncer struct {
enabled bool enabled bool
crowdsecStreamHealthy bool crowdsecStreamHealthy bool
needInit bool
crowdsecScheme string crowdsecScheme string
crowdsecHost string crowdsecHost string
crowdsecKey string crowdsecKey string