mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 20:36:12 +02:00
Typos (#3084)
* comment fix * redundancy * typo nill -> nil * remove extra newline from log
This commit is contained in:
parent
4e09ae2182
commit
a529e66cd8
7 changed files with 12 additions and 12 deletions
|
@ -22,7 +22,7 @@ func (c *Client) StartFlushScheduler(config *csconfig.FlushDBCfg) (*gocron.Sched
|
|||
maxAge := ""
|
||||
|
||||
if config.MaxItems != nil && *config.MaxItems <= 0 {
|
||||
return nil, errors.New("max_items can't be zero or negative number")
|
||||
return nil, errors.New("max_items can't be zero or negative")
|
||||
}
|
||||
|
||||
if config.MaxItems != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue