* [PATCH storage] prune backups: add missing space in keep-* descriptions
@ 2026-11-13 14:39 Dietmar Maurer
2026-11-13 15:38 ` applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Dietmar Maurer @ 2026-11-13 14:39 UTC (permalink / raw)
To: pve-devel
The descriptions are split over two string literals without a space at
the join, so the API viewer, the CLI help and the documentation read
"If there is morethan one backup".
Fixes: 3353698 ("Introduce prune-backups property for directory-based storages")
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
---
src/PVE/Storage/Plugin.pm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/PVE/Storage/Plugin.pm b/src/PVE/Storage/Plugin.pm
index e4ad7e6..18e9551 100644
--- a/src/PVE/Storage/Plugin.pm
+++ b/src/PVE/Storage/Plugin.pm
@@ -103,27 +103,27 @@ our $prune_backups_format = {
},
'keep-hourly' => {
%prune_option,
- description => 'Keep backups for the last <N> different hours. If there is more'
+ description => 'Keep backups for the last <N> 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 <N> different days. If there is more'
+ description => 'Keep backups for the last <N> 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 <N> different weeks. If there is more'
+ description => 'Keep backups for the last <N> 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 <N> different months. If there is more'
+ description => 'Keep backups for the last <N> 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 <N> different years. If there is more'
+ description => 'Keep backups for the last <N> different years. If there is more '
. 'than one backup for a single year, only the latest one is kept.',
},
};
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-13 15:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-13 14:39 [PATCH storage] prune backups: add missing space in keep-* descriptions Dietmar Maurer
2026-11-13 15:38 ` applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox