update schema.yaml description

also add monitor.State.LOG to cronitor.

Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
This commit is contained in:
Soumik Dutta 2023-03-05 21:57:13 +05:30
parent 69f6695253
commit 1573d68fe2
2 changed files with 5 additions and 5 deletions

View File

@ -951,9 +951,9 @@ properties:
name: name:
type: string type: string
description: | description: |
This is used to tag the database dump file This is used to tag the database dump file
with a name. It is not the path to the database with a name. It is not the path to the database
file itself. The name "all" has no special file itself. The name "all" has no special
meaning for SQLite databases. meaning for SQLite databases.
example: users example: users
path: path:
@ -1168,7 +1168,7 @@ properties:
type: string type: string
description: | description: |
Healthchecks ping URL or UUID to notify when a Healthchecks ping URL or UUID to notify when a
backup begins, ends, or errors. backup begins, ends, errors or just to send logs.
example: https://hc-ping.com/your-uuid-here example: https://hc-ping.com/your-uuid-here
verify_tls: verify_tls:
type: boolean type: boolean

View File

@ -10,7 +10,7 @@ MONITOR_STATE_TO_CRONITOR = {
monitor.State.START: 'run', monitor.State.START: 'run',
monitor.State.FINISH: 'complete', monitor.State.FINISH: 'complete',
monitor.State.FAIL: 'fail', monitor.State.FAIL: 'fail',
monitor.State.LOG: 'log', monitor.State.LOG: 'ok',
} }