mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-02 16:46:35 +00:00
Update pkg/initiate/initiate.go
Co-authored-by: Jan-Otto Kröpke <github@jkroepke.de> Signed-off-by: DiniFarb <andreas.vogt89@bluewin.ch>
This commit is contained in:
@@ -64,9 +64,7 @@ func init() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
_ = logger.Error(102, fmt.Sprintf("Failed to start service: %v", err))
|
_ = logger.Error(102, fmt.Sprintf("Failed to start service: %v", err))
|
||||||
}
|
}
|
||||||
defer func() {
|
StopCh <- true
|
||||||
StopCh <- true
|
|
||||||
}()
|
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user