Remove date echo from schema example, as it's not a substitute for real logging (#127).
the build was successful Details

This commit is contained in:
Dan Helfman 2019-01-27 12:22:22 -08:00
parent 2dc006aab4
commit fa9dfb8ff7
2 changed files with 4 additions and 3 deletions

1
NEWS
View File

@ -1,4 +1,5 @@
1.2.15.dev0
* #127: Remove date echo from schema example, as it's not a substitute for real logging.
* #136: Handle and format validation errors raised during argument parsing.
* #139: Allow use of --stats flag when --create or --prune flags are implied.

View File

@ -281,16 +281,16 @@ map:
- type: scalar
desc: List of one or more shell commands or scripts to execute before creating a backup.
example:
- echo "`date` - Starting a backup job."
- echo "Starting a backup job."
after_backup:
seq:
- type: scalar
desc: List of one or more shell commands or scripts to execute after creating a backup.
example:
- echo "`date` - Backup created."
- echo "Backup created."
on_error:
seq:
- type: scalar
desc: List of one or more shell commands or scripts to execute in case an exception has occurred.
example:
- echo "`date` - Error while creating a backup."
- echo "Error while creating a backup."