Add TODO to replace TARFILE with TARGET

This commit is contained in:
Jeremy Gardais 2021-08-05 10:22:30 +02:00
parent fa22d9ec4a
commit b5089fd4df
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,8 @@ if ($phase eq 'job-start' ||
my $hostname = $ENV{HOSTNAME}; my $hostname = $ENV{HOSTNAME};
# tarfile is only available in phase 'backup-end' # tarfile is only available in phase 'backup-end'
## TODO: TARFILE is deprecated in Proxmox 6 and was removed in Proxmox 7. Need to replace with TARGET.
## See "Breaking Changes" for Proxmox 7 : https://pve.proxmox.com/wiki/Roadmap#Proxmox_VE_7.0
my $tarfile = $ENV{TARFILE}; my $tarfile = $ENV{TARFILE};
# logfile is only available in phase 'log-end' # logfile is only available in phase 'log-end'