Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
#206: fix min value of rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
gessnerfl committed Nov 6, 2023
1 parent c595a84 commit 1367eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instana/resource-custom-event-specficiation.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ func NewCustomEventSpecificationResourceHandle() ResourceHandle[*restapi.CustomE
CustomEventSpecificationThresholdRuleFieldRollup: {
Type: schema.TypeInt,
Optional: true,
ValidateFunc: validation.IntAtLeast(1),
ValidateFunc: validation.IntAtLeast(0),
Description: "The rollup of the metric",
},
CustomEventSpecificationThresholdRuleFieldWindow: {
Expand Down

0 comments on commit 1367eb8

Please sign in to comment.