mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
fix typo
This commit is contained in:
parent
545f749a0d
commit
1e4c0f33a8
@ -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