mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Revert "kubectl: Make scaling smarter"
This commit is contained in:
@@ -112,7 +112,7 @@ func JobHasDesiredParallelism(c ExtensionsInterface, job *extensions.Job) wait.C
|
||||
}
|
||||
|
||||
// desired parallelism can be either the exact number, in which case return immediately
|
||||
if job.Spec.Parallelism != nil && job.Status.Active == *job.Spec.Parallelism {
|
||||
if job.Status.Active == *job.Spec.Parallelism {
|
||||
return true, nil
|
||||
}
|
||||
// otherwise count successful
|
||||
|
||||
Reference in New Issue
Block a user