public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] api: use 'number' instead of 'amount' for countable nouns
@ 2025-07-02 11:49 Lukas Wagner
  2025-08-20 13:16 ` Lukas Wagner
  2025-09-02 12:32 ` [pve-devel] applied: " Fabian Grünbichler
  0 siblings, 2 replies; 3+ messages in thread
From: Lukas Wagner @ 2025-07-02 11:49 UTC (permalink / raw)
  To: pve-devel

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-02 12:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-02 11:49 [pve-devel] [PATCH manager] api: use 'number' instead of 'amount' for countable nouns Lukas Wagner
2025-08-20 13:16 ` Lukas Wagner
2025-09-02 12:32 ` [pve-devel] applied: " Fabian Grünbichler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal