run gofumpt cleanup across code-base (#14015)

This commit is contained in:
Harshavardhana
2022-01-02 09:15:06 -08:00
committed by GitHub
parent 6f474982ed
commit f527c708f2
250 changed files with 1201 additions and 1264 deletions

View File

@@ -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)