On Tue Sep 9, 2025 at 10:33 AM CEST, Daniel Kral wrote:
> -=head3 get_node_affinity($rules, $sid, $online_node_usage)
> +=head3 get_node_affinity($node_affinity, $sid, $online_node_usage)
Just noticed that I forgot to change $online_node_usage to $online_nodes
here..
>
> Returns a list of two hashes representing the node affinity of C<$sid>
> -according to the node affinity rules in C<$rules> and the available nodes in
> +according to the node affinity C<$node_affinity> and the available nodes in
> the C<$online_nodes> hash.
>
> The first hash is a hash set of available nodes, i.e. nodes where the
> @@ -251,31 +265,15 @@ If there are no available nodes at all, returns
> C<undef>.
>
> =cut
>
> -sub get_node_affinity : prototype($$$) {
> - my ($rules, $sid, $online_nodes) = @_;
> +sub get_node_affinity {
> + my ($node_affinity, $sid, $online_nodes) = @_;
>
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel