From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id AEF711FF15E for ; Mon, 22 Dec 2025 10:23:25 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 0EB9CFCBC; Mon, 22 Dec 2025 10:24:16 +0100 (CET) From: Maximiliano Sandoval To: pve-devel@lists.proxmox.com Date: Mon, 22 Dec 2025 10:23:33 +0100 Message-ID: <20251222092342.184204-1-m.sandoval@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1766395405521 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.090 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH ha-manager] fix typos on user-facing strings X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Signed-off-by: Maximiliano Sandoval --- src/PVE/API2/HA/Resources.pm | 2 +- src/PVE/HA/Resources.pm | 2 +- src/PVE/HA/Rules.pm | 8 ++++---- src/PVE/HA/Rules/ResourceAffinity.pm | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/PVE/API2/HA/Resources.pm b/src/PVE/API2/HA/Resources.pm index b95c0e1..791cd94 100644 --- a/src/PVE/API2/HA/Resources.pm +++ b/src/PVE/API2/HA/Resources.pm @@ -151,7 +151,7 @@ __PACKAGE__->register_method({ }, max_relocate => { description => "Maximal number of service relocate tries when a" - . " service failes to start.", + . " service fails to start.", type => 'integer', optional => 1, }, diff --git a/src/PVE/HA/Resources.pm b/src/PVE/HA/Resources.pm index b6d4a73..68d9d16 100644 --- a/src/PVE/HA/Resources.pm +++ b/src/PVE/HA/Resources.pm @@ -81,7 +81,7 @@ EODESC }, max_relocate => { description => "Maximal number of service relocate tries when a" - . " service failes to start.", + . " service fails to start.", type => 'integer', optional => 1, default => 1, diff --git a/src/PVE/HA/Rules.pm b/src/PVE/HA/Rules.pm index c4a2cce..b7a15aa 100644 --- a/src/PVE/HA/Rules.pm +++ b/src/PVE/HA/Rules.pm @@ -181,7 +181,7 @@ B Can be implemented in a I. Called during base plugin's C in order to extend the deserialization for plugin-specific values which need it (e.g. lists). -If it is not overrridden by the I, then it does nothing to +If it is not overridden by the I, then it does nothing to C<$value> by default. =cut @@ -222,7 +222,7 @@ B Can be implemented in a I. Called during base plugin's C in order to extend the serialization for plugin-specific values which need it (e.g. lists). -If it is not overrridden by the I, then it does nothing to +If it is not overridden by the I, then it does nothing to C<$value> by default. =cut @@ -388,7 +388,7 @@ sub get_check_arguments { Checks whether the given C<$rules> are feasible by running all checks, which were registered with Cregister_check(...) >>>, -and returns a hash map of errorneous rules. +and returns a hash map of erroneous rules. C<$nodes> is a list of the configured cluster nodes. @@ -749,7 +749,7 @@ of lists, each consisting of the rule type and resource id, where the resources in the negative resource affinity rule are restricted to less nodes than needed to keep them separate by their node affinity rules. -That is, the negative resource affinity rule cannot be fullfilled as there are +That is, the negative resource affinity rule cannot be fulfilled as there are not enough nodes to spread the resources on. If there are none, the returned list is empty. diff --git a/src/PVE/HA/Rules/ResourceAffinity.pm b/src/PVE/HA/Rules/ResourceAffinity.pm index 7cfbb32..bd9a134 100644 --- a/src/PVE/HA/Rules/ResourceAffinity.pm +++ b/src/PVE/HA/Rules/ResourceAffinity.pm @@ -180,7 +180,7 @@ C<$negative_rules>, which do have more resources defined than available accordin to the node list C<$nodes>, i.e., there are not enough nodes to separate the resources on, even if all nodes are available. -If there are none, the returned list ist empty. +If there are none, the returned list is empty. =cut @@ -437,7 +437,7 @@ __PACKAGE__->register_transform(sub { Returns a list of two hash sets, where the first hash set contains the resources, which C<$sid> is positively affinitive to, and the second hash -contains the resources, which C<$sid> is negatively affinitive to, acording to +contains the resources, which C<$sid> is negatively affinitive to, according to the resource's resource affinity in C<$resource_affinity>. Note that a resource C<$sid> becomes part of any negative affinity relation -- 2.47.3 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel