mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2026-04-07 00:17:29 +02:00
Embedded types should be at the top of the field list of a struct.
And there should be an empty line separating embedded fields from regular fields
This commit is contained in:
@@ -30,6 +30,7 @@ type CpustatCollectorConfig struct {
|
||||
|
||||
type CpustatCollector struct {
|
||||
metricCollector
|
||||
|
||||
config CpustatCollectorConfig
|
||||
lastTimestamp time.Time // Store time stamp of last tick to derive values
|
||||
matches map[string]int
|
||||
|
||||
Reference in New Issue
Block a user