Skip to content

Commit

Permalink
chore: replace sprint() with string() in cel expression
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed Jul 21, 2023
1 parent ace7b34 commit 113ce89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fixtures/minimal/http_fail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ spec:
- endpoint: https://httpbin.demo.aws.flanksource.com/status/200
name: http fail test expr check
display:
expr: sprint(code) + " should be 500"
expr: string(code) + " should be 500"
test:
expr: code == 500
2 changes: 1 addition & 1 deletion fixtures/minimal/http_fail_connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ spec:
- connection: 'connection://http/200'
name: http fail test expr check
display:
expr: sprint(code) + " should be 500"
expr: string(code) + " should be 500"
test:
expr: code == 500

0 comments on commit 113ce89

Please sign in to comment.