From 7b5933b9bb6e621b6a1f712c2355d4e94f4731e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madhu=20=F0=9F=94=B8?= Date: Wed, 24 Jul 2024 16:51:44 -0700 Subject: [PATCH] fix(slos): Reflect OpenAPI validation of SLOs (#506) ## Short description of the changes Reflect OpenAPI validation of SLO's TargetPPM, here: https://docs.honeycomb.io/api/tag/SLOs#operation/createSlo!path=target_per_million&t=request --- honeycombio/resource_slo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/honeycombio/resource_slo.go b/honeycombio/resource_slo.go index eb5563a4..932c8400 100644 --- a/honeycombio/resource_slo.go +++ b/honeycombio/resource_slo.go @@ -54,7 +54,7 @@ the column evaluation should consistently return nil, true, or false, as these a Type: schema.TypeFloat, Required: true, Description: "The percentage of qualified events that you expect to succeed during the `time_period`.", - ValidateFunc: validation.FloatBetween(1.00000, 99.9999), + ValidateFunc: validation.FloatBetween(0.00000, 99.9999), }, "time_period": { Type: schema.TypeInt,