mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-01 16:22:24 +00:00
If the surge is not requested, we should return 0. We are returning an error now as r.MaxSurge is passed down as nil. This commit fixes the issue by setting the surgeCount to 0 if r.MaxSurge is nil.