mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 21:01:40 +02:00
Change cluster.json to camelCase, go fmt
This commit is contained in:
@@ -33,13 +33,13 @@ type JobTag struct {
|
||||
}
|
||||
|
||||
type Cluster struct {
|
||||
ClusterID string `json:"cluster_id"`
|
||||
ProcessorType string `json:"processor_type"`
|
||||
SocketsPerNode int `json:"sockets_per_node"`
|
||||
CoresPerSocket int `json:"cores_per_socket"`
|
||||
ThreadsPerCore int `json:"threads_per_core"`
|
||||
FlopRateScalar int `json:"flop_rate_scalar"`
|
||||
FlopRateSimd int `json:"flop_rate_simd"`
|
||||
MemoryBandwidth int `json:"memory_bandwidth"`
|
||||
MetricConfig []MetricConfig `json:"metric_config"`
|
||||
ClusterID string `json:"clusterID"`
|
||||
ProcessorType string `json:"processorType"`
|
||||
SocketsPerNode int `json:"socketsPerNode"`
|
||||
CoresPerSocket int `json:"coresPerSocket"`
|
||||
ThreadsPerCore int `json:"threadsPerCore"`
|
||||
FlopRateScalar int `json:"flopRateScalar"`
|
||||
FlopRateSimd int `json:"flopRateSimd"`
|
||||
MemoryBandwidth int `json:"memoryBandwidth"`
|
||||
MetricConfig []MetricConfig `json:"metricConfig"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user