Skip to content

Commit

Permalink
Update docs/src/references/mqtt-api.md
Browse files Browse the repository at this point in the history
Co-authored-by: Albin Suresh <[email protected]>
  • Loading branch information
reubenmiller and albinsuresh authored Jul 25, 2023
1 parent b9ce435 commit 61050de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/references/mqtt-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ tedge mqtt pub -r te/device/main///cmd/health/check '{}'

On receipt of the above command, all services on that device should respond with their health status.

The services are also expected to register an MQTT Last Will and Testament (LWT) message with the broker to publish a `down` status message in the event that the service stops or crashes unexpectedly. The Last Will and Testament message ensures that the down status is published even if the service is not operational. The following example details such as message:
The services are also expected to register an MQTT Last Will and Testament (LWT) message with the broker to publish a `down` status message in the event that the service stops or crashes unexpectedly. The Last Will and Testament message ensures that the down status is published even if the service is not operational. The following example details such a message:

```sh te2mqtt
tedge mqtt pub -r te/device/main/service/tedge-agent/status/health '{
Expand Down

0 comments on commit 61050de

Please sign in to comment.