]> git.proxmox.com Git - pve-container.git/commitdiff
api: stop: reword overrule-shutdown parameter description
authorFriedrich Weber <f.weber@proxmox.com>
Thu, 18 Apr 2024 13:46:36 +0000 (15:46 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 18 Apr 2024 21:09:18 +0000 (23:09 +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>
src/PVE/API2/LXC/Status.pm

index 08e23b6f419d338d6e273a2c33718387ba8a64ea..2eeecdf260a436810443280309bd434047653937 100644 (file)
@@ -221,7 +221,7 @@ __PACKAGE__->register_method({
            vmid => get_standard_option('pve-vmid', { completion => \&PVE::LXC::complete_ctid_running }),
            skiplock => get_standard_option('skiplock'),
            'overrule-shutdown' => {
-               description => "Abort any active and visible 'vzshutdown' tasks before stopping",
+               description => "Try to abort active 'vzshutdown' tasks before stopping.",
                optional => 1,
                type => 'boolean',
                default => 0,