Skip to content

Commit 2b3da7d

Browse files
authored
Merge pull request kubernetes#130193 from kei01234kei/modify_comment_of_SchedulerCacheSize_field
modify SchedulerCacheSize field comment because it will be removed at v1.34
2 parents 1b79b89 + 6b16f05 commit 2b3da7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/scheduler/backend/cache/cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ func (cache *cacheImpl) updateMetrics() {
758758
metrics.CacheSize.WithLabelValues("pods").Set(float64(len(cache.podStates)))
759759
metrics.CacheSize.WithLabelValues("nodes").Set(float64(len(cache.nodes)))
760760

761-
// we intentionally keep them with the deprecation and will remove at v1.33.
761+
// we intentionally keep them with the deprecation and will remove at v1.34.
762762
//nolint:staticcheck
763763
metrics.SchedulerCacheSize.WithLabelValues("assumed_pods").Set(float64(len(cache.assumedPods)))
764764
//nolint:staticcheck

pkg/scheduler/metrics/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ var (
110110
PermitWaitDuration *metrics.HistogramVec
111111
CacheSize *metrics.GaugeVec
112112
// Deprecated: SchedulerCacheSize is deprecated,
113-
// and will be removed at v1.33. Please use CacheSize instead.
113+
// and will be removed at v1.34. Please use CacheSize instead.
114114
SchedulerCacheSize *metrics.GaugeVec
115115
unschedulableReasons *metrics.GaugeVec
116116
PluginEvaluationTotal *metrics.CounterVec

0 commit comments

Comments
 (0)