mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-17 10:16:35 +00:00
fix: use log.file=eventlog as default value, if running as windows service (#1771)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
@@ -34,6 +34,10 @@ type AllowedFile struct {
|
||||
}
|
||||
|
||||
func (f *AllowedFile) String() string {
|
||||
if f == nil {
|
||||
return ""
|
||||
}
|
||||
|
||||
return f.s
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user