Skip to content

Commit 228891d

Browse files
committed
Fix comment
1 parent 2bd9f57 commit 228891d

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
@@ -36,7 +36,7 @@ const (
3636
// Name is the name of the plugin used in the plugin registry and configurations.
3737
Name = "ServiceAffinity"
3838

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var _ framework.ScorePlugin = &TaintToleration{}
4242
const (
4343
// Name is the name of the plugin used in the plugin registry and configurations.
4444
Name = "TaintToleration"
45-
// postFilterStateKey is the key in CycleState to InterPodAffinity pre-computed data for Scoring.
45+
// postFilterStateKey is the key in CycleState to TaintToleration pre-computed data for Scoring.
4646
postFilterStateKey = "PostFilter" + Name
4747
)
4848

0 commit comments

Comments
 (0)