You've already forked prometheus-fail2ban-exporter
Compare commits
1 Commits
2d343b6c70
...
08081f7c05
Author | SHA1 | Date | |
---|---|---|---|
08081f7c05
|
@ -37,7 +37,6 @@ func (c *Collector) collectFileContents() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fullPath := filepath.Join(c.folderPath, fileName)
|
fullPath := filepath.Join(c.folderPath, fileName)
|
||||||
// #nosec G304
|
|
||||||
content, err := os.ReadFile(fullPath)
|
content, err := os.ReadFile(fullPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
c.appendErrorForPath(fileName)
|
c.appendErrorForPath(fileName)
|
||||||
|
Reference in New Issue
Block a user