[pve-devel] [PATCH manager 1/6] vzdump: backup file list: drop unused parameter
Fabian Ebner
f.ebner at proxmox.com
Thu Dec 16 13:12:25 CET 2021
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>
---
PVE/VZDump.pm | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index b5a5fadd..daaaf0e3 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -685,12 +685,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