mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
run gofumpt cleanup across code-base (#14015)
This commit is contained in:
@@ -379,6 +379,7 @@ func getBucketUsageTotalBytesMD() MetricDescription {
|
||||
Type: gaugeMetric,
|
||||
}
|
||||
}
|
||||
|
||||
func getBucketUsageObjectsTotalMD() MetricDescription {
|
||||
return MetricDescription{
|
||||
Namespace: bucketMetricNamespace,
|
||||
@@ -1029,7 +1030,6 @@ func getS3TTFBMetric() *MetricsGroup {
|
||||
metrics = append(metrics, metric)
|
||||
}
|
||||
}
|
||||
|
||||
}()
|
||||
|
||||
httpRequestsDuration.Collect(ch)
|
||||
@@ -1744,7 +1744,6 @@ func populateAndPublish(metricsGroups []*MetricsGroup, publish func(m Metric) bo
|
||||
|
||||
// Collect is called by the Prometheus registry when collecting metrics.
|
||||
func (c *minioNodeCollector) Collect(ch chan<- prometheus.Metric) {
|
||||
|
||||
// Expose MinIO's version information
|
||||
minioVersionInfo.WithLabelValues(Version, CommitID).Set(1.0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user