Merge branch 'add-default-value-for-fail2ban-socket' into 'main'

Add default value for fail2ban socket

See merge request hectorjsmith/fail2ban-prometheus-exporter!58
This commit is contained in:
Hector 2022-02-18 22:15:32 +00:00
commit ec10999814

View file

@ -47,7 +47,7 @@ func readParamsFromCli(settings *AppSettings) {
Bool()
socketPath := kingpin.
Flag("socket", "path to the fail2ban server socket").
Default("").
Default("/var/run/fail2ban/fail2ban.sock").
Envar(socketEnvName).
String()
fileCollectorEnabled := kingpin.