Merge pull request #96292 from wangyx1992/cleanup-scheduler-log-capatilization

cleanup: fix log capitalization in scheduler
This commit is contained in:
Kubernetes Prow Robot
2020-11-12 11:20:45 -08:00
committed by GitHub
10 changed files with 21 additions and 21 deletions

View File

@@ -207,7 +207,7 @@ func (pl *InterPodAffinity) PreScore(
func getPreScoreState(cycleState *framework.CycleState) (*preScoreState, error) {
c, err := cycleState.Read(preScoreStateKey)
if err != nil {
return nil, fmt.Errorf("Error reading %q from cycleState: %v", preScoreStateKey, err)
return nil, fmt.Errorf("failed to read %q from cycleState: %v", preScoreStateKey, err)
}
s, ok := c.(*preScoreState)

View File

@@ -109,7 +109,7 @@ func (pl *TaintToleration) PreScore(ctx context.Context, cycleState *framework.C
func getPreScoreState(cycleState *framework.CycleState) (*preScoreState, error) {
c, err := cycleState.Read(preScoreStateKey)
if err != nil {
return nil, fmt.Errorf("Error reading %q from cycleState: %v", preScoreStateKey, err)
return nil, fmt.Errorf("failed to read %q from cycleState: %v", preScoreStateKey, err)
}
s, ok := c.(*preScoreState)