mirror of
https://github.com/postmannen/ctrl.git
synced 2025-03-05 06:46:48 +00:00
comments
This commit is contained in:
parent
f3dc0c78d8
commit
9039e82fb7
1 changed files with 2 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Reference in a new issue