mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Merge pull request #37623 from yarntime/fix_typo_in_deployment
Automatic merge from submit-queue fix typo in deployment fix typo in deployment.
This commit is contained in:
commit
e0dd422c14
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user