This commit is contained in:
Hector 2021-08-29 17:33:48 +01:00
parent 3dd68cd8e6
commit efc789cec2
2 changed files with 7 additions and 7 deletions

View File

@ -206,7 +206,7 @@ func (e *Exporter) collectJailMetrics(ch chan<- prometheus.Metric) {
metricJailCount, prometheus.GaugeValue, count,
)
for i := range(jails) {
for i := range jails {
e.collectJailStatsMetric(ch, jails[i])
}
}

View File

@ -1,12 +1,12 @@
package socket
import (
"log"
"net"
"fmt"
"strings"
"github.com/kisielk/og-rek"
"github.com/nlpodyssey/gopickle/types"
"log"
"net"
"strings"
)
type Fail2BanSocket struct {