mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-19 12:16:26 +00:00
chore: fix misspelling
This commit is contained in:
@@ -274,7 +274,7 @@ func (dc *diskCollector) collect() {
|
||||
|
||||
// to make sure that the rows are not duplicated
|
||||
// we display only the only one row even if there are
|
||||
// mutiple rows for the same disk.
|
||||
// multiple rows for the same disk.
|
||||
seen := make(map[string]bool)
|
||||
for _, partition := range partitions {
|
||||
if seen[partition.Device] {
|
||||
|
||||
@@ -38,7 +38,7 @@ func NewOsFeatureCollectorOrDie(osFeatureConfig *ssmtypes.OSFeatureStatsConfig,
|
||||
procPath: procPath,
|
||||
}
|
||||
var err error
|
||||
// Use metrics.Last aggregation method to ensure the metric is a guage metric.
|
||||
// Use metrics.Last aggregation method to ensure the metric is a gauge metric.
|
||||
if osFeatureConfig.MetricsConfigs["system/os_feature"].DisplayName != "" {
|
||||
oc.osFeature, err = metrics.NewInt64Metric(
|
||||
metrics.OSFeatureID,
|
||||
|
||||
Reference in New Issue
Block a user