Skip to content

Commit

Permalink
fix: correct syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
btasker committed Nov 21, 2024
1 parent 36c66b1 commit b139f32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libflux/go/libflux/buildinfo.gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ var sourceHashes = map[string]string{
"stdlib/experimental/window_test.flux": "d5370d2dad30ab536db0584516a46df668eadd59d19bc95885d8a4a0b720bb16",
"stdlib/generate/from_test.flux": "f4b773acadddf8318f1e6c0cc961ca36e22a4016378219e71d58f58fd2264c88",
"stdlib/generate/generate.flux": "2f705b8e44f0b8c64478ad59ccfab09d05c04666b1ab7279629afe1c35c75002",
"stdlib/http/http.flux": "49292b34e1244551005ce7523de96c55dbd1c79bb607cd7b65d1c3c2b093bc41",
"stdlib/http/http.flux": "4ffb67181d0dbda5bf25db315f640d16c97a7b6bef342fe6d9d990e7f3f15d07",
"stdlib/http/http_path_encode_endpoint_test.flux": "cb1e075f9d0f5d2a2d46b6cec6a8e34eb932f3d31b5494f48a3135c9503d4038",
"stdlib/http/requests/requests.flux": "f88df79b7918f5ab92860197118070bc05f9bbbd9a7261462cecd367dfeeb704",
"stdlib/influxdata/influxdb/influxdb.flux": "e6b28fcea063420a83cdbcb54e4c40d28d28aa27c4b59b012eed7ac8ea6896a4",
Expand Down
4 changes: 2 additions & 2 deletions stdlib/http/http.flux
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ endpoint = (url) =>
obj = mapFn(r: r)
status_code = post(url: url, headers: obj.headers, data: obj.data)

return {r with _sent:
return {r with
status_code: string(v: status_code),
string(
_sent: string(
v: 200 == status_code,
),
}
Expand Down

0 comments on commit b139f32

Please sign in to comment.