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 86A2E1FF183 for ; Mon, 11 Nov 2024 11:08:51 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C00E33F011; Mon, 11 Nov 2024 11:08:46 +0100 (CET) From: Aaron Lauterer To: pve-devel@lists.proxmox.com Date: Mon, 11 Nov 2024 11:08:12 +0100 Message-Id: <20241111100812.89152-2-a.lauterer@proxmox.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241111100812.89152-1-a.lauterer@proxmox.com> References: <20241111100812.89152-1-a.lauterer@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.038 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 2/2] tools: adapt line lengths of verbose descriptions 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: Aaron Lauterer --- src/PVE/HA/Tools.pm | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/PVE/HA/Tools.pm b/src/PVE/HA/Tools.pm index 09b73f1..0f9e9a5 100644 --- a/src/PVE/HA/Tools.pm +++ b/src/PVE/HA/Tools.pm @@ -40,7 +40,8 @@ sub pve_verify_ha_resource_id { } PVE::JSONSchema::register_standard_option('pve-ha-resource-id', { - description => "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100).", + description => "HA resource ID. This consists of a resource type followed by a resource" + ." specific name, separated with colon (example: vm:100 / ct:100).", typetext => ":", type => 'string', format => 'pve-ha-resource-id', }); @@ -57,7 +58,9 @@ sub pve_verify_ha_resource_or_vm_id { } PVE::JSONSchema::register_standard_option('pve-ha-resource-or-vm-id', { - description => "HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).", + description => "HA resource ID. This consists of a resource type followed by a resource" + ." specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and" + ." containers, you can simply use the VM or CT id as a shortcut (example: 100).", typetext => ":", type => 'string', format => 'pve-ha-resource-or-vm-id', }); @@ -75,7 +78,11 @@ sub pve_verify_ha_group_node { PVE::JSONSchema::register_standard_option('pve-ha-group-node-list', { description => "List of cluster node names with optional priority.", - verbose_description => "List of cluster node members, where a priority can be given to each node. A resource bound to a group will run on the available nodes with the highest priority. If there are more nodes in the highest priority class, the services will get distributed to those nodes. The priorities have a relative meaning only. The higher the number, the higher the priority.", + verbose_description => "List of cluster node members, where a priority can be given to each" + ." node. A resource bound to a group will run on the available nodes with the highest" + ." priority. If there are more nodes in the highest priority class, the services will get" + ." distributed to those nodes. The priorities have a relative meaning only. The higher the" + ." number, the higher the priority.", type => 'string', format => 'pve-ha-group-node-list', typetext => '[:]{,[:]}*', }); -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel