Skip to content

Commit

Permalink
Add missing ]
Browse files Browse the repository at this point in the history
  • Loading branch information
ccfontes committed Nov 6, 2023
1 parent fd58552 commit ad14d9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/faas_fn_build_invoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ jobs:
(docker stop bb-routes-bell || exit 0)
(docker rm bb-routes-bell || exit 0)
docker run -d --name bb-routes-bell ghcr.io/${{ github.repository_owner }}/bb-routes-bell:latest bb --main index
if [ "$(docker exec bb-routes-bell curl -X POST -d '{"foo": "bar"}' -H 'content-type: application/json' --retry 10 --retry-delay 2 --retry-connrefused http://127.0.0.1:8082)" != '[["foo","spam"]]'; then
if [ "$(docker exec bb-routes-bell curl -X POST -d '{"foo": "bar"}' -H 'content-type: application/json' --retry 10 --retry-delay 2 --retry-connrefused http://127.0.0.1:8082)" != '[["foo","spam"]]' ]; then
exit 8
fi
if [ "$(docker exec bb-routes-bell curl -X PUT --retry 10 --retry-delay 2 --retry-connrefused http://127.0.0.1:8082/foo/123)" != '[["id"],["123"]]'; then
if [ "$(docker exec bb-routes-bell curl -X PUT --retry 10 --retry-delay 2 --retry-connrefused http://127.0.0.1:8082/foo/123)" != '[["id"],["123"]] ]'; then
exit 9
fi

0 comments on commit ad14d9e

Please sign in to comment.