From: Friedrich Weber <f.weber@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH qemu-server 1/4] api: fix spacing and punctuation in shutdown and stop descriptions
Date: Thu, 18 Apr 2024 15:46:34 +0200 [thread overview]
Message-ID: <20240418134637.262082-2-f.weber@proxmox.com> (raw)
In-Reply-To: <20240418134637.262082-1-f.weber@proxmox.com>
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 | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 6c9e883..00cd907 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -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' ]],
},
--
2.39.2
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next prev parent reply other threads:[~2024-04-18 13:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-18 13:46 [pve-devel] [PATCH qemu-server/container/docs 0/4] overrule-shutdown: documentation fixes Friedrich Weber
2024-04-18 13:46 ` Friedrich Weber [this message]
2024-04-18 13:46 ` [pve-devel] [PATCH qemu-server 2/4] api: stop: reword overrule-shutdown parameter description Friedrich Weber
2024-04-18 13:46 ` [pve-devel] [PATCH container 3/4] " Friedrich Weber
2024-04-18 13:46 ` [pve-devel] [PATCH docs 4/4] qm: add overrule-shutdown to CLI usage examples Friedrich Weber
2024-04-18 21:10 ` [pve-devel] applied-series: [PATCH qemu-server/container/docs 0/4] overrule-shutdown: documentation fixes Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240418134637.262082-2-f.weber@proxmox.com \
--to=f.weber@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox