Skip to content

Commit

Permalink
Update max threshold permitted in ServiceLevelObjectives (GoogleCloud…
Browse files Browse the repository at this point in the history
  • Loading branch information
etruong42 authored and Charlesleonius committed Aug 1, 2024
1 parent a49f935 commit 5e111eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mmv1/templates/terraform/constants/monitoring_slo.go.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
func validateMonitoringSloGoal(v interface{}, k string) (warnings []string, errors []error) {
goal := v.(float64)
if goal <= 0 || goal > 0.999 {
errors = append(errors, fmt.Errorf("goal %f must be > 0 and <= 0.999", goal))
if goal <= 0 || goal > 0.9999 {
errors = append(errors, fmt.Errorf("goal %f must be > 0 and <= 0.9999", goal))
}
return
}
Expand Down

0 comments on commit 5e111eb

Please sign in to comment.