Fix a typo in interpodaffinity score plugin

This commit is contained in:
Wei Huang 2019-12-27 20:23:28 -08:00
parent de3be348a6
commit b3bebddb30
No known key found for this signature in database
GPG Key ID: BE5E9752F8B6E005

View File

@ -256,7 +256,7 @@ func (pl *InterPodAffinity) PostFilter(
func getPostFilterState(cycleState *framework.CycleState) (*postFilterState, error) {
c, err := cycleState.Read(postFilterStateKey)
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)