mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-23 05:06:36 +00:00
chore: release 0.29.0.rc0 (#1600)
This commit is contained in:
@@ -50,7 +50,9 @@ func init() {
|
||||
if err != nil {
|
||||
os.Exit(2)
|
||||
}
|
||||
|
||||
_ = logger.Error(102, fmt.Sprintf("Failed to detect service: %v", err))
|
||||
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
@@ -59,7 +61,9 @@ func init() {
|
||||
if err != nil {
|
||||
os.Exit(2)
|
||||
}
|
||||
|
||||
_ = logger.Info(100, "Attempting to start exporter service")
|
||||
|
||||
go func() {
|
||||
err = svc.Run(serviceName, &windowsExporterService{})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user