Merge pull request #116059 from Gekko0114/fix_typo

fix typo on Evictor's Preempt func
This commit is contained in:
Kubernetes Prow Robot 2023-02-27 18:19:15 -08:00 committed by GitHub
commit f6753da51b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,7 @@ type Evaluator struct {
// In this case, a non-nil PostFilterResult is returned and result.NominatingMode instructs how to deal with
// the nominatedNodeName.
//
// - <non-nil PostFilterResult}, Success>. It's the regular happy path
// - <non-nil PostFilterResult, Success>. It's the regular happy path
// and the non-empty nominatedNodeName will be applied to the preemptor pod.
func (ev *Evaluator) Preempt(ctx context.Context, pod *v1.Pod, m framework.NodeToStatusMap) (*framework.PostFilterResult, *framework.Status) {
// 0) Fetch the latest version of <pod>.