Commit 2303413
committed
fix: correct MaxSurge default assignment in SetDefaultDeploymentStrategy
The default value for MaxSurge was incorrectly assigned to
MaxUnavailable, causing MaxSurge to remain nil when not explicitly set.
This could lead to unexpected behavior in the rolling update strategy
where maxSurge==0 fallback logic would always trigger.
Made-with: Cursor1 parent 8416512 commit 2303413
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments