fix linter

This commit is contained in:
alteredCoder 2023-10-02 11:30:57 +02:00
parent 1eaaa2075d
commit 7a3c055a08

View file

@ -192,7 +192,6 @@ func (c *Config) LoadCrowdsec() error {
if c.Crowdsec.ContextDir == "" {
// fallback to default config file
c.Crowdsec.ContextDir = filepath.Join(c.Crowdsec.ConfigDir, "context")
fallback = true
}
// if context folder exist, try to read it