From 8d21dc8f2b1edab3bbcb6116611da7dc5957bf17 Mon Sep 17 00:00:00 2001 From: Ethan Truong Date: Wed, 24 Jul 2024 18:54:01 -0400 Subject: [PATCH] Update max threshold permitted in ServiceLevelObjectives (#11248) --- mmv1/templates/terraform/constants/monitoring_slo.go.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mmv1/templates/terraform/constants/monitoring_slo.go.erb b/mmv1/templates/terraform/constants/monitoring_slo.go.erb index f905eaec9ad1..df0e301c15ba 100644 --- a/mmv1/templates/terraform/constants/monitoring_slo.go.erb +++ b/mmv1/templates/terraform/constants/monitoring_slo.go.erb @@ -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 }