* [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
0 siblings, 1 reply; 2+ 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] 2+ messages in thread
* Re: [pve-devel] [PATCH manager] api: use 'number' instead of 'amount' for countable nouns
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
0 siblings, 0 replies; 2+ messages in thread
From: Lukas Wagner @ 2025-08-20 13:16 UTC (permalink / raw)
To: Proxmox VE development discussion, Lukas Wagner
On Wed Jul 2, 2025 at 1:49 PM CEST, Lukas Wagner wrote:
> 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',
bump
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-20 13:15 UTC | newest]
Thread overview: 2+ 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox