Skip to content

Commit

Permalink
Remove invalid condition from testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
jessejlt committed Oct 24, 2024
1 parent 4798afb commit 11bd62f
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions api/v1/function_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,7 @@ spec:
| extend diff=Value-prevVal
| extend Value=case(h == prev(h), case(diff < 0, next(Value)-Value, diff), real(0))
| project-away prevVal, diff, h
)
parameters:
- name: T
type: record
fields:
- name: Timestamp
type: datetime
- name: SeriesId
type: long
- name: Labels
type: dynamic
- name: Value
type: real
- name: interval
type: timespan
default: 1m`
)`

var fn Function
err := yaml.Unmarshal([]byte(yamlStr), &fn)
Expand Down

0 comments on commit 11bd62f

Please sign in to comment.