Added a LOG_EXT constant as a counterpart to NOTES_EXT

and refactored usages for .log and .notes with them.
At some parts in the test case code I had to source new variables to
shorten the line length to not exceed the 100 column line limit.

Signed-off-by: Daniel Tschlatscher <d.tschlatscher@proxmox.com>
Reviewed-by: Fabian Ebner <f.ebner@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Daniel Tschlatscher
2022-06-14 11:00:13 +02:00
committed by Wolfgang Bumiller
parent 3048641bb4
commit 90778f7cdd
3 changed files with 21 additions and 16 deletions

View File

@ -20,6 +20,7 @@ use base qw(PVE::SectionConfig);
use constant COMPRESSOR_RE => 'gz|lzo|zst';
use constant LOG_EXT => ".log";
use constant NOTES_EXT => ".notes";
our @COMMON_TAR_FLAGS = qw(