mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2026-02-17 16:31:46 +01: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:
@@ -31,6 +31,7 @@ type SchedstatCollectorConfig struct {
|
||||
// defined by metricCollector (name, init, ...)
|
||||
type SchedstatCollector struct {
|
||||
metricCollector
|
||||
|
||||
config SchedstatCollectorConfig // the configuration structure
|
||||
lastTimestamp time.Time // Store time stamp of last tick to derive values
|
||||
meta map[string]string // default meta information
|
||||
|
||||
Reference in New Issue
Block a user