Skip to content

Commit

Permalink
Express percentage value as a string
Browse files Browse the repository at this point in the history
  • Loading branch information
jianyuan committed Jan 19, 2023
1 parent 0050656 commit 2cf97af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/issue_alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ resource "sentry_issue_alert" "main" {
# The issue affects more than 50.0 percent of sessions in 1h
{
id = "sentry.rules.conditions.event_frequency.EventFrequencyPercentCondition"
value = 50.0
value = "50.0" # Express the percentage as a string
comparisonType = "count"
interval = "1h"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/sentry_issue_alert/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ resource "sentry_issue_alert" "main" {
# The issue affects more than 50.0 percent of sessions in 1h
{
id = "sentry.rules.conditions.event_frequency.EventFrequencyPercentCondition"
value = 50.0
value = "50.0" # Express the percentage as a string
comparisonType = "count"
interval = "1h"
},
Expand Down

0 comments on commit 2cf97af

Please sign in to comment.