From 48d0cd02c1cb1158e6df744aa6ffb430fae6093b Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 3 Sep 2020 18:21:09 +0200 Subject: [PATCH] fix indentation of $prune_backups_format Signed-off-by: Thomas Lamprecht --- PVE/Storage/Plugin.pm | 58 +++++++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm index 5b337df..e6cd99c 100644 --- a/PVE/Storage/Plugin.pm +++ b/PVE/Storage/Plugin.pm @@ -50,35 +50,35 @@ my %prune_option = ( ); our $prune_backups_format = { - 'keep-last' => { - %prune_option, - description => 'Keep the last backups.', - }, - 'keep-hourly' => { - %prune_option, - description => 'Keep backups for the last different hours. If there is more' . - 'than one backup for a single hour, only the latest one is kept.' - }, - 'keep-daily' => { - %prune_option, - description => 'Keep backups for the last different days. If there is more' . - 'than one backup for a single day, only the latest one is kept.' - }, - 'keep-weekly' => { - %prune_option, - description => 'Keep backups for the last different weeks. If there is more' . - 'than one backup for a single week, only the latest one is kept.' - }, - 'keep-monthly' => { - %prune_option, - description => 'Keep backups for the last different months. If there is more' . - 'than one backup for a single month, only the latest one is kept.' - }, - 'keep-yearly' => { - %prune_option, - description => 'Keep backups for the last different years. If there is more' . - 'than one backup for a single year, only the latest one is kept.' - }, + 'keep-last' => { + %prune_option, + description => 'Keep the last backups.', + }, + 'keep-hourly' => { + %prune_option, + description => 'Keep backups for the last different hours. If there is more' . + 'than one backup for a single hour, only the latest one is kept.' + }, + 'keep-daily' => { + %prune_option, + description => 'Keep backups for the last different days. If there is more' . + 'than one backup for a single day, only the latest one is kept.' + }, + 'keep-weekly' => { + %prune_option, + description => 'Keep backups for the last different weeks. If there is more' . + 'than one backup for a single week, only the latest one is kept.' + }, + 'keep-monthly' => { + %prune_option, + description => 'Keep backups for the last different months. If there is more' . + 'than one backup for a single month, only the latest one is kept.' + }, + 'keep-yearly' => { + %prune_option, + description => 'Keep backups for the last different years. If there is more' . + 'than one backup for a single year, only the latest one is kept.' + }, }; PVE::JSONSchema::register_format('prune-backups', $prune_backups_format, \&validate_prune_backups); sub validate_prune_backups {