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:
@@ -35,6 +35,7 @@ type CPUFreqCollectorTopology struct {
|
||||
// See: https://www.kernel.org/doc/html/latest/admin-guide/pm/cpufreq.html
|
||||
type CPUFreqCollector struct {
|
||||
metricCollector
|
||||
|
||||
topology []CPUFreqCollectorTopology
|
||||
config struct {
|
||||
ExcludeMetrics []string `json:"exclude_metrics,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user