mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #86681 from Huang-Wei/interpodaffinity-typo
Fix a typo in interpodaffinity score plugin
This commit is contained in:
commit
f796b750c6
@ -256,7 +256,7 @@ func (pl *InterPodAffinity) PostFilter(
|
|||||||
func getPostFilterState(cycleState *framework.CycleState) (*postFilterState, error) {
|
func getPostFilterState(cycleState *framework.CycleState) (*postFilterState, error) {
|
||||||
c, err := cycleState.Read(postFilterStateKey)
|
c, err := cycleState.Read(postFilterStateKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("Error reading %q from cycleState: %v", preFilterStateKey, err)
|
return nil, fmt.Errorf("Error reading %q from cycleState: %v", postFilterStateKey, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
s, ok := c.(*postFilterState)
|
s, ok := c.(*postFilterState)
|
||||||
|
Loading…
Reference in New Issue
Block a user