go fmt
This commit is contained in:
parent
3dd68cd8e6
commit
efc789cec2
@ -206,7 +206,7 @@ func (e *Exporter) collectJailMetrics(ch chan<- prometheus.Metric) {
|
|||||||
metricJailCount, prometheus.GaugeValue, count,
|
metricJailCount, prometheus.GaugeValue, count,
|
||||||
)
|
)
|
||||||
|
|
||||||
for i := range(jails) {
|
for i := range jails {
|
||||||
e.collectJailStatsMetric(ch, jails[i])
|
e.collectJailStatsMetric(ch, jails[i])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
package socket
|
package socket
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
|
||||||
"net"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
|
||||||
"github.com/kisielk/og-rek"
|
"github.com/kisielk/og-rek"
|
||||||
"github.com/nlpodyssey/gopickle/types"
|
"github.com/nlpodyssey/gopickle/types"
|
||||||
|
"log"
|
||||||
|
"net"
|
||||||
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Fail2BanSocket struct {
|
type Fail2BanSocket struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user