mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
Fix a typo in interpodaffinity score plugin
This commit is contained in:
parent
de3be348a6
commit
b3bebddb30
@ -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