Skip to content

Commit

Permalink
fix(slos): Reflect OpenAPI validation of SLOs (#506)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
MadhuVK authored Jul 24, 2024
1 parent c41eaeb commit 7b5933b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion honeycombio/resource_slo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7b5933b

Please sign in to comment.