Skip to content

Commit 9269b5d

Browse files
authored
Merge pull request kubernetes#87014 from notpad/fix/comments
Fix comment
2 parents 75a8715 + 228891d commit 9269b5d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

pkg/scheduler/framework/plugins/nodeports/node_ports.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const (
4040
// Name is the name of the plugin used in the plugin registry and configurations.
4141
Name = "NodePorts"
4242

43-
// preFilterStateKey is the key in CycleState to InterPodAffinity pre-computed data.
43+
// preFilterStateKey is the key in CycleState to NodePorts pre-computed data.
4444
// Using the name of the plugin will likely help us avoid collisions with other plugins.
4545
preFilterStateKey = "PreFilter" + Name
4646
)

pkg/scheduler/framework/plugins/noderesources/fit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const (
3838
// FitName is the name of the plugin used in the plugin registry and configurations.
3939
FitName = "NodeResourcesFit"
4040

41-
// preFilterStateKey is the key in CycleState to InterPodAffinity pre-computed data.
41+
// preFilterStateKey is the key in CycleState to NodeResourcesFit pre-computed data.
4242
// Using the name of the plugin will likely help us avoid collisions with other plugins.
4343
preFilterStateKey = "PreFilter" + FitName
4444
)

pkg/scheduler/framework/plugins/noderesources/resource_limits.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const (
3939
// ResourceLimitsName is the name of the plugin used in the plugin registry and configurations.
4040
ResourceLimitsName = "NodeResourceLimits"
4141

42-
// postFilterStateKey is the key in CycleState to InterPodAffinity pre-computed data.
42+
// postFilterStateKey is the key in CycleState to NodeResourceLimits pre-computed data.
4343
// Using the name of the plugin will likely help us avoid collisions with other plugins.
4444
postFilterStateKey = "PostFilter" + ResourceLimitsName
4545
)

pkg/scheduler/framework/plugins/serviceaffinity/service_affinity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const (
3434
// Name is the name of the plugin used in the plugin registry and configurations.
3535
Name = "ServiceAffinity"
3636

37-
// preFilterStateKey is the key in CycleState to InterPodAffinity pre-computed data.
37+
// preFilterStateKey is the key in CycleState to ServiceAffinity pre-computed data.
3838
// Using the name of the plugin will likely help us avoid collisions with other plugins.
3939
preFilterStateKey = "PreFilter" + Name
4040

pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var _ framework.ScorePlugin = &TaintToleration{}
4040
const (
4141
// Name is the name of the plugin used in the plugin registry and configurations.
4242
Name = "TaintToleration"
43-
// postFilterStateKey is the key in CycleState to InterPodAffinity pre-computed data for Scoring.
43+
// postFilterStateKey is the key in CycleState to TaintToleration pre-computed data for Scoring.
4444
postFilterStateKey = "PostFilter" + Name
4545
// ErrReasonNotMatch is the Filter reason status when not matching.
4646
ErrReasonNotMatch = "node(s) had taints that the pod didn't tolerate"

0 commit comments

Comments
 (0)