Skip to content

Commit

Permalink
Update api/v1beta1/spannerautoscaler_webhook.go
Browse files Browse the repository at this point in the history
Co-authored-by: tkuchiki <[email protected]>
  • Loading branch information
kazuki-hanai and tkuchiki authored Nov 16, 2023
1 parent e78d4af commit 3aa0a50
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions api/v1beta1/spannerautoscaler_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ func (r *SpannerAutoscaler) Default() {
r.Spec.ScaleConfig.ScaledownStepSize = 2000
}

// set default ScaleupStepSize
if r.Spec.ScaleConfig.ScaleupStepSize == 0 {
r.Spec.ScaleConfig.ScaleupStepSize = 2000
}

log.V(1).Info("finished setting defaults for spannerautoscaler resource", "name", r.Name, "resource", r)
}

Expand Down

0 comments on commit 3aa0a50

Please sign in to comment.