Skip to content

Commit

Permalink
Fix docs about heartbeat status on warnings (200, not 5XX) (#99)
Browse files Browse the repository at this point in the history
* Fix docs about heartbeat status on warnings (200, not 5XX)

* Trailing space
  • Loading branch information
leplatrem authored Feb 26, 2024
1 parent e695de7 commit c939637
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/django.rst
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ spec:
}
}

:statuscode 200: no error
:statuscode 500: there was a warning or error
:statuscode 200: no error, with potential warnings
:statuscode 500: there was an error

.. note:: Failed status code can be configured with the ``DOCKERFLOW_HEARTBEAT_FAILED_STATUS_CODE``
setting (eg. 503 instead of 500)
Expand Down
2 changes: 1 addition & 1 deletion docs/fastapi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ spec:
}
}

:statuscode 200: no error
:statuscode 200: no error, with potential warnings
:statuscode 500: there was an error

.. note:: Failed status code can be configured with the ``app.state.DOCKERFLOW_HEARTBEAT_FAILED_STATUS_CODE``
Expand Down
4 changes: 2 additions & 2 deletions docs/flask.rst
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ spec:
}
}

:statuscode 200: no error
:statuscode 500: there was a warning or error
:statuscode 200: no error, with potential warnings
:statuscode 500: there was an error

.. note:: Failed status code can be configured with the ``DOCKERFLOW_HEARTBEAT_FAILED_STATUS_CODE``
setting (eg. 503 instead of 500)
Expand Down
4 changes: 2 additions & 2 deletions docs/sanic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@ spec:
}
}

:statuscode 200: no error
:statuscode 500: there was a warning or error
:statuscode 200: no error, with potential warnings
:statuscode 500: there was an error

.. note:: Failed status code can be configured with the ``DOCKERFLOW_HEARTBEAT_FAILED_STATUS_CODE``
setting (eg. 503 instead of 500)
Expand Down

0 comments on commit c939637

Please sign in to comment.