Commit debfca88 authored by Michele Tartara's avatar Michele Tartara
Browse files

Change format of the empty status message



Having 'null' instead of an empty string for an empty status message
increases the complexity of the code with no real improvement.

This patch modifies the monitoring agent design document solving this issue.
Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
Reviewed-by: default avatarBernardo Dal Seno <bdalseno@google.com>
parent 44b7a8a8
......@@ -197,8 +197,9 @@ in its ``data`` section, at least the following field:
A message to better explain the reason of the status.
The exact format of the message string is data collector dependent.
The field is mandatory, but the content can be ``null`` if the code is
``0`` (working as intended) or ``1`` (being fixed automatically).
The field is mandatory, but the content can be an empty string if the
``code`` is ``0`` (working as intended) or ``1`` (being fixed
automatically).
If the status code is ``2``, the message should specify what has gone
wrong.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment