]> git.proxmox.com Git - qemu-server.git/commitdiff
api: stop: reword overrule-shutdown parameter description master
authorFriedrich Weber <f.weber@proxmox.com>
Thu, 18 Apr 2024 13:46:35 +0000 (15:46 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 18 Apr 2024 21:08:30 +0000 (23:08 +0200)
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@proxmox.com>
PVE/API2/Qemu.pm

index 00cd907759d53f0f5a9b76ba2d42144ff289f995..2a349c8c9918acdd2265db9809ebbd85f5291ba3 100644 (file)
@@ -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,