Fix notification status in notification.inc

The notification 'status' values should be lowercase.

Change-Id: Idcc9cdb61cb4f65b99471dee519dab21ee02c49c
This commit is contained in:
wuting 2021-06-11 09:20:15 +08:00
parent 1ed2b1fc3e
commit ae23b74b50

View File

@ -24,12 +24,12 @@ notification state. You can filter on the notification `status` when you
complete a list notifications request. The notification `status` is returned complete a list notifications request. The notification `status` is returned
in the response body. The possible notification `status` values are: in the response body. The possible notification `status` values are:
- ``NEW``. The notification is in new state and yet to be processed. - ``new``. The notification is in new state and yet to be processed.
- ``RUNNING``. The notification is in progress. - ``running``. The notification is in progress.
- ``FINISHED``. The notification is completed successfully. - ``finished``. The notification is completed successfully.
- ``ERROR``. The notification is ended up in error. - ``error``. The notification is ended up in error.
- ``FAILED``. The notification is not processed successfully after failed once. - ``failed``. The notification is not processed successfully after failed once.
- ``IGNORED``. The notification is ignored by masakari engine. - ``ignored``. The notification is ignored by masakari engine.
You can also filter on the basis of `source_host_uuid`, `generated_since` and You can also filter on the basis of `source_host_uuid`, `generated_since` and
`type` when you complete a list notifications request. `type` when you complete a list notifications request.