This is an automated email from the ASF dual-hosted git repository.

bmahler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new bc22f2ad8 Improve flag descriptions for --ingress_rate_per_cpu and 
--egress_rate_per_cpu.
bc22f2ad8 is described below

commit bc22f2ad8f6637d4d94359771d7e46ad33afa6e3
Author: Devin Leamy <[email protected]>
AuthorDate: Wed Jan 24 15:03:53 2024 -0500

    Improve flag descriptions for --ingress_rate_per_cpu and 
--egress_rate_per_cpu.
    
    Addresses a typo in the --egress_rate_per_cpu flag and a missing description
    for
    ```
    --ingress_rate_per_cpu='auto'
    ```
    .
---
 src/slave/flags.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/slave/flags.cpp b/src/slave/flags.cpp
index fbead7f1e..0c5f27d5f 100644
--- a/src/slave/flags.cpp
+++ b/src/slave/flags.cpp
@@ -1235,7 +1235,7 @@ mesos::internal::slave::Flags::Flags()
       "If set to 'auto' the rate limit is automatically calculated\n"
       "by determining the link speed and dividing by the number of available\n"
       "CPU resources.\n" 
-      "This flag is used by the `network/port_mapping` isolator,");
+      "This flag is used by the `network/port_mapping` isolator.");
 
   add(&Flags::minimum_egress_rate_limit,
       "minimum_egress_rate_limit",
@@ -1287,6 +1287,9 @@ mesos::internal::slave::Flags::Flags()
       "ingress_rate_per_cpu Bytes/s for each whole unit of CPU resource,\n"
       "i.e., floor(CPU), subject to the values of the\n"
       "minimum_ingress_rate_limit and maximum_ingress_rate_limit flags."
+      "If set to 'auto' the rate limit is automatically calculated\n"
+      "by determining the link speed and dividing by the number of available\n"
+      "CPU resources.\n" 
       "This flag is used by the `network/port_mapping` isolator.");
 
   add(&Flags::minimum_ingress_rate_limit,

Reply via email to