[pve-devel] [PATCH qemu-server 2/4] api: stop: reword overrule-shutdown parameter description

Friedrich Weber f.weber at proxmox.com
Thu Apr 18 15:46:35 CEST 2024


The previous wording made it sound like all "visible" tasks were
aborted, which is not the case: A user with Sys.Audit but without
Sys.Modify may see a task that was started by a different user, but
overrule-shutdown would not abort the task.

Change wording to better reflect that not all visible tasks may be
aborted.

Also, add a full-stop that was previously missing.

Signed-off-by: Friedrich Weber <f.weber at proxmox.com>
---
 PVE/API2/Qemu.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 00cd907..2a349c8 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -3043,7 +3043,7 @@ __PACKAGE__->register_method({
 		default => 0,
 	    },
 	    'overrule-shutdown' => {
-		description => "Abort any active and visible 'qmshutdown' tasks before stopping",
+		description => "Try to abort active 'qmshutdown' tasks before stopping.",
 		optional => 1,
 		type => 'boolean',
 		default => 0,
-- 
2.39.2





More information about the pve-devel mailing list