Commit e0dd422c authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #37623 from yarntime/fix_typo_in_deployment

Automatic merge from submit-queue fix typo in deployment fix typo in deployment.
parents 5f705d57 1e4c0f33
...@@ -422,7 +422,7 @@ func MaxUnavailable(deployment extensions.Deployment) int32 { ...@@ -422,7 +422,7 @@ func MaxUnavailable(deployment extensions.Deployment) int32 {
return maxUnavailable return maxUnavailable
} }
// MinAvailable returns the minimum vailable pods of a given deployment // MinAvailable returns the minimum available pods of a given deployment
func MinAvailable(deployment *extensions.Deployment) int32 { func MinAvailable(deployment *extensions.Deployment) int32 {
if !IsRollingUpdate(deployment) { if !IsRollingUpdate(deployment) {
return int32(0) return int32(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment