[pve-devel] [PATCH manager] api: use 'number' instead of 'amount' for countable nouns
Lukas Wagner
l.wagner at proxmox.com
Wed Jul 2 13:49:16 CEST 2025
Signed-off-by: Lukas Wagner <l.wagner at 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
More information about the pve-devel
mailing list