[pve-devel] [PATCH v2 manager 1/8] vzdump: backup file list: drop unused parameter
Fabian Ebner
f.ebner at proxmox.com
Tue Mar 29 14:53:14 CEST 2022
It's not used anymore since b5a3ab3d20f3b62f615ea09341a2c83fc3d243a2
aligned pruning in a dumpdir with pruning on a storage.
Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
No changes from v1.
PVE/VZDump.pm | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index 65867325..124d3843 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -692,12 +692,10 @@ sub compressor_info {
}
sub get_backup_file_list {
- my ($dir, $bkname, $exclude_fn) = @_;
+ my ($dir, $bkname) = @_;
my $bklist = [];
foreach my $fn (<$dir/${bkname}-*>) {
- next if $exclude_fn && $fn eq $exclude_fn;
-
my $archive_info = eval { PVE::Storage::archive_info($fn) } // {};
if ($archive_info->{is_std_name}) {
my $filename = $archive_info->{filename};
--
2.30.2
More information about the pve-devel
mailing list