Skip to content

Commit

Permalink
Update max threshold permitted in ServiceLevelObjectives (#11248)
Browse files Browse the repository at this point in the history
  • Loading branch information
etruong42 authored Jul 24, 2024
1 parent 06b986e commit 8d21dc8
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 8d21dc8

Please sign in to comment.