Skip to content

Commit

Permalink
Merge pull request #199 from bhepburn/main
Browse files Browse the repository at this point in the history
exten metric operator with missing `any` operator
  • Loading branch information
gessnerfl authored Oct 3, 2023
2 parents 24c8516 + 67876a7 commit 6afd878
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions instana/resource-custom-event-specficiation.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ func NewCustomEventSpecificationResourceHandle() ResourceHandle[*restapi.CustomE
CustomEventSpecificationThresholdRuleFieldMetricPatternOperator: {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringInSlice([]string{"is", "contains", "startsWith", "endsWith"}, false),
Description: "The metric pattern operator (e.g is, contains, startsWith, endsWith)",
ValidateFunc: validation.StringInSlice([]string{"is", "contains", "startsWith", "endsWith", "any"}, false),
Description: "The metric pattern operator (e.g is, contains, startsWith, endsWith, any)",
},
},
},
Expand Down

0 comments on commit 6afd878

Please sign in to comment.