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 E42C51FF17C for ; Wed, 20 Aug 2025 15:15:48 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 7F617B402; Wed, 20 Aug 2025 15:17:32 +0200 (CEST) Mime-Version: 1.0 Date: Wed, 20 Aug 2025 15:16:58 +0200 Message-Id: From: "Lukas Wagner" To: "Proxmox VE development discussion" , "Lukas Wagner" X-Mailer: aerc 0.20.1-0-g2ecb8770224a References: <20250702114916.138761-1-l.wagner@proxmox.com> In-Reply-To: <20250702114916.138761-1-l.wagner@proxmox.com> X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1755695775377 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.023 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 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: Re: [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" On Wed Jul 2, 2025 at 1:49 PM CEST, Lukas Wagner wrote: > 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', bump _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel