mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-04 19:20:11 +00: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:
parent
63eda17045
commit
b04a334eab
@ -3017,8 +3017,8 @@ __PACKAGE__->register_method({
|
|||||||
method => 'POST',
|
method => 'POST',
|
||||||
protected => 1,
|
protected => 1,
|
||||||
proxyto => 'node',
|
proxyto => 'node',
|
||||||
description => "Stop virtual machine. The qemu process will exit immediately. This" .
|
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",
|
." is akin to pulling the power plug of a running computer and may damage the VM data.",
|
||||||
permissions => {
|
permissions => {
|
||||||
check => ['perm', '/vms/{vmid}', [ 'VM.PowerMgmt' ]],
|
check => ['perm', '/vms/{vmid}', [ 'VM.PowerMgmt' ]],
|
||||||
},
|
},
|
||||||
@ -3173,8 +3173,9 @@ __PACKAGE__->register_method({
|
|||||||
method => 'POST',
|
method => 'POST',
|
||||||
protected => 1,
|
protected => 1,
|
||||||
proxyto => 'node',
|
proxyto => 'node',
|
||||||
description => "Shutdown virtual machine. This is similar to pressing the power button on a physical machine." .
|
description => "Shutdown virtual machine. This is similar to pressing the power button on a"
|
||||||
"This will send an ACPI event for the guest OS, which should then proceed to a clean shutdown.",
|
." physical machine. This will send an ACPI event for the guest OS, which should then"
|
||||||
|
." proceed to a clean shutdown.",
|
||||||
permissions => {
|
permissions => {
|
||||||
check => ['perm', '/vms/{vmid}', [ 'VM.PowerMgmt' ]],
|
check => ['perm', '/vms/{vmid}', [ 'VM.PowerMgmt' ]],
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user