]> git.proxmox.com Git - qemu-server.git/commitdiff
api: fix spacing and punctuation in shutdown and stop descriptions
authorFriedrich Weber <f.weber@proxmox.com>
Thu, 18 Apr 2024 13:46:34 +0000 (15:46 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 18 Apr 2024 21:08:30 +0000 (23:08 +0200)
Add missing spaces and full-stops and wrap strings according to Perl
style guide.

Signed-off-by: Friedrich Weber <f.weber@proxmox.com>
PVE/API2/Qemu.pm

index 6c9e8838916cf833d4da84c837d5b85a829b2236..00cd907759d53f0f5a9b76ba2d42144ff289f995 100644 (file)
@@ -3017,8 +3017,8 @@ __PACKAGE__->register_method({
     method => 'POST',
     protected => 1,
     proxyto => 'node',
-    description => "Stop virtual machine. The qemu process will exit immediately. This" .
-       "is akin to pulling the power plug of a running computer and may damage the VM data",
+    description => "Stop virtual machine. The qemu process will exit immediately. This"
+       ." is akin to pulling the power plug of a running computer and may damage the VM data.",
     permissions => {
        check => ['perm', '/vms/{vmid}', [ 'VM.PowerMgmt' ]],
     },
@@ -3173,8 +3173,9 @@ __PACKAGE__->register_method({
     method => 'POST',
     protected => 1,
     proxyto => 'node',
-    description => "Shutdown virtual machine. This is similar to pressing the power button on a physical machine." .
-       "This will send an ACPI event for the guest OS, which should then proceed to a clean shutdown.",
+    description => "Shutdown virtual machine. This is similar to pressing the power button on a"
+       ." physical machine. This will send an ACPI event for the guest OS, which should then"
+       ." proceed to a clean shutdown.",
     permissions => {
        check => ['perm', '/vms/{vmid}', [ 'VM.PowerMgmt' ]],
     },