Fix comment

This commit is contained in:
notpad 2020-01-09 20:06:56 +08:00
parent 2bd9f5737a
commit 228891de9c
5 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ const (
// Name is the name of the plugin used in the plugin registry and configurations.
Name = "NodePorts"
// preFilterStateKey is the key in CycleState to InterPodAffinity pre-computed data.
// preFilterStateKey is the key in CycleState to NodePorts pre-computed data.
// Using the name of the plugin will likely help us avoid collisions with other plugins.
preFilterStateKey = "PreFilter" + Name
)

View File

@ -38,7 +38,7 @@ const (
// FitName is the name of the plugin used in the plugin registry and configurations.
FitName = "NodeResourcesFit"
// preFilterStateKey is the key in CycleState to InterPodAffinity pre-computed data.
// preFilterStateKey is the key in CycleState to NodeResourcesFit pre-computed data.
// Using the name of the plugin will likely help us avoid collisions with other plugins.
preFilterStateKey = "PreFilter" + FitName
)

View File

@ -39,7 +39,7 @@ const (
// ResourceLimitsName is the name of the plugin used in the plugin registry and configurations.
ResourceLimitsName = "NodeResourceLimits"
// postFilterStateKey is the key in CycleState to InterPodAffinity pre-computed data.
// postFilterStateKey is the key in CycleState to NodeResourceLimits pre-computed data.
// Using the name of the plugin will likely help us avoid collisions with other plugins.
postFilterStateKey = "PostFilter" + ResourceLimitsName
)

View File

@ -36,7 +36,7 @@ const (
// Name is the name of the plugin used in the plugin registry and configurations.
Name = "ServiceAffinity"
// preFilterStateKey is the key in CycleState to InterPodAffinity pre-computed data.
// preFilterStateKey is the key in CycleState to ServiceAffinity pre-computed data.
// Using the name of the plugin will likely help us avoid collisions with other plugins.
preFilterStateKey = "PreFilter" + Name
)

View File

@ -42,7 +42,7 @@ var _ framework.ScorePlugin = &TaintToleration{}
const (
// Name is the name of the plugin used in the plugin registry and configurations.
Name = "TaintToleration"
// postFilterStateKey is the key in CycleState to InterPodAffinity pre-computed data for Scoring.
// postFilterStateKey is the key in CycleState to TaintToleration pre-computed data for Scoring.
postFilterStateKey = "PostFilter" + Name
)