Skip to content

Commit b41c523

Browse files
committed
Fix MetricRule Operator enum
1 parent 52ea3e4 commit b41c523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conf/types/action.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ type ResponseExpectationAction struct {
6969

7070
type MetricRule struct {
7171
Metric string `wst:"metric"`
72-
Operator string `wst:"operator,enum=eq,ne,gt,lt,ge,le"`
72+
Operator string `wst:"operator,enum=eq|ne|gt|lt|ge|le"`
7373
Value float64 `wst:"value"`
7474
}
7575

0 commit comments

Comments
 (0)