Skip to content

Commit c939637

Browse files
authored
Fix docs about heartbeat status on warnings (200, not 5XX) (#99)
* Fix docs about heartbeat status on warnings (200, not 5XX) * Trailing space
1 parent e695de7 commit c939637

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/django.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@ spec:
336336
}
337337
}
338338

339-
:statuscode 200: no error
340-
:statuscode 500: there was a warning or error
339+
:statuscode 200: no error, with potential warnings
340+
:statuscode 500: there was an error
341341

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

docs/fastapi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ spec:
241241
}
242242
}
243243

244-
:statuscode 200: no error
244+
:statuscode 200: no error, with potential warnings
245245
:statuscode 500: there was an error
246246

247247
.. note:: Failed status code can be configured with the ``app.state.DOCKERFLOW_HEARTBEAT_FAILED_STATUS_CODE``

docs/flask.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,8 @@ spec:
389389
}
390390
}
391391

392-
:statuscode 200: no error
393-
:statuscode 500: there was a warning or error
392+
:statuscode 200: no error, with potential warnings
393+
:statuscode 500: there was an error
394394

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

docs/sanic.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ spec:
369369
}
370370
}
371371

372-
:statuscode 200: no error
373-
:statuscode 500: there was a warning or error
372+
:statuscode 200: no error, with potential warnings
373+
:statuscode 500: there was an error
374374

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

0 commit comments

Comments
 (0)