This commit is contained in:
Hector 2021-10-15 18:10:31 +01:00
parent 5518369758
commit da42ac858e

View File

@ -18,7 +18,7 @@ type Collector struct {
func NewExporter(appSettings *cfg.AppSettings, exporterVersion string) *Collector { func NewExporter(appSettings *cfg.AppSettings, exporterVersion string) *Collector {
return &Collector{ return &Collector{
socketPath: appSettings.Fail2BanSocketPath, socketPath: appSettings.Fail2BanSocketPath,
exporterVersion: exporterVersion, exporterVersion: exporterVersion,
lastError: nil, lastError: nil,
dbErrorCount: 0, dbErrorCount: 0,