5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-01-07 17:17:57 +03:00

api: fix spacing and punctuation in shutdown and stop descriptions

Add missing spaces and full-stops and wrap strings according to Perl
style guide.

Signed-off-by: Friedrich Weber <f.weber@proxmox.com>
This commit is contained in:
Friedrich Weber 2024-04-18 15:46:34 +02:00 committed by Thomas Lamprecht
parent 63eda17045
commit b04a334eab

View 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' ]],
},