From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 628D11FF183 for ; Wed, 2 Jul 2025 13:49:16 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id BC38518831; Wed, 2 Jul 2025 13:49:54 +0200 (CEST) From: Lukas Wagner To: pve-devel@lists.proxmox.com Date: Wed, 2 Jul 2025 13:49:16 +0200 Message-Id: <20250702114916.138761-1-l.wagner@proxmox.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.020 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.232 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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [cluster.pm, tasks.pm] Subject: [pve-devel] [PATCH manager] api: use 'number' instead of 'amount' for countable nouns 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: Lukas Wagner --- PVE/API2/Cluster.pm | 4 ++-- PVE/API2/Tasks.pm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PVE/API2/Cluster.pm b/PVE/API2/Cluster.pm index a025d264..cda34bb3 100644 --- a/PVE/API2/Cluster.pm +++ b/PVE/API2/Cluster.pm @@ -364,7 +364,7 @@ __PACKAGE__->register_method({ }, diskread => { description => - "The amount of bytes the guest read from its block devices since" + "The number of bytes the guest read from its block devices since" . " the guest was started. This info is not available for all storage types." . " (for types 'qemu' and 'lxc')", type => 'integer', @@ -373,7 +373,7 @@ __PACKAGE__->register_method({ }, diskwrite => { description => - "The amount of bytes the guest wrote to its block devices since" + "The number of bytes the guest wrote to its block devices since" . " the guest was started. This info is not available for all storage types." . " (for types 'qemu' and 'lxc')", type => 'integer', diff --git a/PVE/API2/Tasks.pm b/PVE/API2/Tasks.pm index 9da5b6bd..d65663f6 100644 --- a/PVE/API2/Tasks.pm +++ b/PVE/API2/Tasks.pm @@ -63,7 +63,7 @@ __PACKAGE__->register_method({ minimum => 0, default => 50, optional => 1, - description => "Only list this amount of tasks.", + description => "Only list this number of tasks.", }, userfilter => { type => 'string', @@ -358,7 +358,7 @@ __PACKAGE__->register_method({ minimum => 0, default => 50, optional => 1, - description => "The amount of lines to read from the tasklog.", + description => "The number of lines to read from the tasklog.", }, download => { type => 'boolean', -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel