From 2b9ee9441a274c66adb412a19eed8c8f5a75d3c1 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 5 Oct 2021 07:05:07 +0200 Subject: [PATCH] trivial: indentation/formatting fixup Signed-off-by: Thomas Lamprecht --- PVE/API2/Qemu.pm | 3 +-- PVE/QemuServer/Drive.pm | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 62281254..367d6ca5 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -187,8 +187,7 @@ my $create_disks = sub { } elsif ($ds eq 'tpmstate0') { # swtpm can only use raw volumes, and uses a fixed size $size = PVE::Tools::convert_size(PVE::QemuServer::Drive::TPMSTATE_DISK_SIZE, 'b' => 'kb'); - $volid = PVE::Storage::vdisk_alloc($storecfg, $storeid, $vmid, - "raw", undef, $size); + $volid = PVE::Storage::vdisk_alloc($storecfg, $storeid, $vmid, "raw", undef, $size); } else { $volid = PVE::Storage::vdisk_alloc($storecfg, $storeid, $vmid, $fmt, undef, $size); } diff --git a/PVE/QemuServer/Drive.pm b/PVE/QemuServer/Drive.pm index 32c73778..6389dbb2 100644 --- a/PVE/QemuServer/Drive.pm +++ b/PVE/QemuServer/Drive.pm @@ -339,8 +339,8 @@ my %tpmversion_fmt = ( version => { type => 'string', enum => [qw(v1.2 v2.0)], - description => "The TPM interface version. v2.0 is newer and should be " - . "preferred. Note that this cannot be changed later on.", + description => "The TPM interface version. v2.0 is newer and should be preferred." + ." Note that this cannot be changed later on.", optional => 1, default => 'v2.0', },