Skip to content

Commit

Permalink
Undo error
Browse files Browse the repository at this point in the history
  • Loading branch information
khhirani committed Feb 5, 2021
1 parent 3e42c0e commit adbd69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/replicaset/replicaset.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ func MaxSurge(rollout *v1alpha1.Rollout) int32 {
return int32(0)
}
// Error caught by validation
maxSurge, _, _ := resolveFenceposts(defaults.GetMaxSurgeOrDefault(rollout), defaults.GetMaxSurgeOrDefault(rollout), rolloutReplicas)
maxSurge, _, _ := resolveFenceposts(defaults.GetMaxSurgeOrDefault(rollout), defaults.GetMaxUnavailableOrDefault(rollout), rolloutReplicas)
return maxSurge
}

Expand Down

0 comments on commit adbd69e

Please sign in to comment.