This commit is contained in:
yarntime@163.com 2016-11-29 18:20:09 +08:00
parent 545f749a0d
commit 1e4c0f33a8

View File

@ -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)