]> git.proxmox.com Git - pve-ha-manager.git/commit
use correct verify function for ha-group-node-list
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 3 Jun 2016 12:07:08 +0000 (14:07 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 3 Jun 2016 13:52:10 +0000 (15:52 +0200)
commit7ae8951733e67ebe59a3b06e0bbab66a36b56bd1
tree2ce01849d128dc2f122c0c56669806f08a0521c5
parent13fbf397fd9a6823d77f8ab4aa9effff37b322ce
use correct verify function for ha-group-node-list

We use pve_verify_nodename but we expect here a value with the
syntax: nodename[:priority]
So if someone used the optional priority this failed unecessarily.

select_service_node in the Manager class expects this value and
splits it itself into nodename and priority so we can just return
it if it matches the ha-group-node-list format.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/HA/Groups.pm