Why do you call that state "setting ignored"? I would prefer a simple "ignored".
Else we have to document two different states with same semantics.

> diff --git a/src/PVE/API2/HA/Status.pm b/src/PVE/API2/HA/Status.pm
> index dbf23d5..0e081bc 100644
> --- a/src/PVE/API2/HA/Status.pm
> +++ b/src/PVE/API2/HA/Status.pm
> @@ -162,10 +162,14 @@ __PACKAGE__->register_method ({
>                       $state = 'starting';
>                   } elsif ($req eq 'disabled') {
>                       $state = 'disabled';
> +                 } elsif ($req eq 'ignored') {
> +                     $state = 'setting ignored';

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to