Skip to content

Commit

Permalink
docs: tutorial curl --fail flag
Browse files Browse the repository at this point in the history
  • Loading branch information
yanksyoon committed Jan 24, 2025
1 parent 0531361 commit b62355e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/tutorial/code/django/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ execute: |
retry -n 5 --wait 2 curl --fail localhost:8000/time/
# [docs:curl-time]
curl localhost:8000/time/
curl --fail localhost:8000/time/
# [docs:curl-time-end]
# [docs:stop-docker-updated]
Expand Down
6 changes: 3 additions & 3 deletions docs/tutorial/code/fastapi/task.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
###########################################
# IMPORTANT
# Comments matter!
# The docs use the wrapping comments as
# markers for including said instructions
# The docs use the wrapping comments as
# markers for including said instructions
# as snippets in the docs.
###########################################
summary: Getting started with FastAPI tutorial
Expand Down Expand Up @@ -117,7 +117,7 @@ execute: |
retry -n 5 --wait 2 curl --fail localhost:8000/time
# [docs:curl-time]
curl localhost:8000/time
curl --fail localhost:8000/time
# [docs:curl-time-end]
# [docs:stop-docker-updated]
Expand Down
6 changes: 3 additions & 3 deletions docs/tutorial/code/flask/task.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
###########################################
# IMPORTANT
# Comments matter!
# The docs use the wrapping comments as
# markers for including said instructions
# The docs use the wrapping comments as
# markers for including said instructions
# as snippets in the docs.
###########################################
summary: Getting started with Flask tutorial
Expand Down Expand Up @@ -118,7 +118,7 @@ execute: |
retry -n 5 --wait 2 curl --fail localhost:8000/time
# [docs:curl-time]
curl localhost:8000/time
curl --fail localhost:8000/time
# [docs:curl-time-end]
# [docs:stop-docker-updated]
Expand Down

0 comments on commit b62355e

Please sign in to comment.