Skip to content

Commit

Permalink
hof/flow: update test for upstream field changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Worm committed Jul 13, 2024
1 parent 6fbc9d1 commit 87dc0e0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions flow/testdata/tasks/api/req_001.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ tasks: {
mask: {
@task(st.Mask)
val: call.resp.body
mask: { headers: "x-amzn-trace-id": string }
mask: {
headers: {
"x-amzn-trace-id": string
"x-request-start": string
}
}
}
out: { text: json.Indent(json.Marshal(mask.out), "", " ") +"\n" } @task(os.Stdout)
}
Expand All @@ -46,9 +51,9 @@ tasks: {
"cow": "moo"
},
"headers": {
"host": "postman-echo.com",
"x-forwarded-proto": "https",
"x-forwarded-port": "443",
"host": "postman-echo.com",
"accept-encoding": "gzip",
"user-agent": "Go-http-client/2.0"
},
Expand Down

0 comments on commit 87dc0e0

Please sign in to comment.