Merge pull request #86681 from Huang-Wei/interpodaffinity-typo

Fix a typo in interpodaffinity score plugin
This commit is contained in:
Kubernetes Prow Robot 2019-12-28 08:23:38 -08:00 committed by GitHub
commit f796b750c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)