[pve-devel] [PATCH ha-manager v4 20/21] rules: fix documentation for inter-rules checker subroutines
Daniel Kral
d.kral at proxmox.com
Fri Nov 14 12:17:18 CET 2025
Signed-off-by: Daniel Kral <d.kral at proxmox.com>
Reviewed-by: Michael Köppl <m.koeppl at proxmox.com>
Tested-by: Michael Köppl <m.koeppl at proxmox.com>
---
src/PVE/HA/Rules.pm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/PVE/HA/Rules.pm b/src/PVE/HA/Rules.pm
index 1c7706ce..9d7f12a1 100644
--- a/src/PVE/HA/Rules.pm
+++ b/src/PVE/HA/Rules.pm
@@ -594,9 +594,9 @@ my $has_multiple_priorities = sub {
=head3 check_single_priority_node_affinity_in_resource_affinity_rules(...)
Returns all rules in C<$resource_affinity_rules> and C<$node_affinity_rules> as
-a list of lists, each consisting of the rule type and resource id, where at
-least one resource in a resource affinity rule are in node affinity rules,
-which have multiple priority groups defined.
+a list of lists, each consisting of the rule type and rule id, where at
+least one resource in a resource affinity rule is in a node affinity rule,
+which has multiple priority groups defined.
That is, the resource affinity rule cannot be statically checked to be feasible
as the selection of the priority group is dependent on the currently online
@@ -666,9 +666,9 @@ __PACKAGE__->register_check(
=head3 check_single_node_affinity_per_positive_resource_affinity_rule(...)
Returns all rules in C<$positive_rules> and C<$node_affinity_rules> as a list of
-lists, each consisting of the rule type and resource id, where one of the
-resources is used in a positive resource affinity rule and more than one node
-affinity rule.
+lists, each item consisting of the rule type and rule id, where at least one of
+the resources is used in a positive resource affinity rule and more than one
+node affinity rule.
If there are none, the returned list is empty.
--
2.47.3
More information about the pve-devel
mailing list