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:
@@ -38,6 +38,7 @@ type RocmSmiCollectorDevice struct {
|
||||
|
||||
type RocmSmiCollector struct {
|
||||
metricCollector
|
||||
|
||||
config RocmSmiCollectorConfig // the configuration structure
|
||||
devices []RocmSmiCollectorDevice
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user