Am 1/9/20 um 4:31 PM schrieb Stefan Reiter:
> add_corosync_link_properties/extract_corosync_link_args are introduced
> as helpers to avoid hardcoding links in parameters=>properties on
> several occasions, while still providing autocompletion with pvecm by
> being seperate parameters instead of an array.
> 
> Maximum number of links is given as constant MAX_LINK_COUNT, should it
> change in the future.
> 
> All necessary functions have been updated to
> use the new $links array format instead of seperate $link0/$link1
> parameters, and call sites changed accordingly.
> 
> Signed-off-by: Stefan Reiter <s.rei...@proxmox.com>
> ---
> 
> This patch intentionally removes some verification and fallback code to be
> reintroduced in the next one.
> 
>  data/PVE/API2/ClusterConfig.pm | 51 +++++++-------------
>  data/PVE/CLI/pvecm.pm          | 21 ++++----
>  data/PVE/Cluster/Setup.pm      | 20 ++++----
>  data/PVE/Corosync.pm           | 88 +++++++++++++++++++++++-----------
>  4 files changed, 97 insertions(+), 83 deletions(-)
> 

applied, thanks!


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

Reply via email to