1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2025-03-05 06:46:48 +00:00
This commit is contained in:
postmannen 2021-08-09 05:50:08 +02:00
parent f3dc0c78d8
commit 9039e82fb7

View file

@ -40,7 +40,8 @@ type processes struct {
promProcessesVec *prometheus.GaugeVec
}
// newProcesses will prepare and return a *processes
// newProcesses will prepare and return a *processes which
// is map containing all the currently running processes.
func newProcesses(promRegistry *prometheus.Registry) *processes {
p := processes{
active: make(map[processName]map[int]process),