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 bb43adbab Fixed log message in network/port_mapping isolator.
bb43adbab is described below
commit bb43adbab345aa4bf51246fbabf8166c999adc80
Author: Ilya Pronin <[email protected]>
AuthorDate: Fri Nov 17 10:45:31 2017 -0800
Fixed log message in network/port_mapping isolator.
The message was displaying the maximum egress rate limit when the associated
text referenced the minimum egress rate limit.
---
src/slave/containerizer/mesos/isolators/network/port_mapping.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/slave/containerizer/mesos/isolators/network/port_mapping.cpp
b/src/slave/containerizer/mesos/isolators/network/port_mapping.cpp
index 925c2d099..6d0af9fff 100644
--- a/src/slave/containerizer/mesos/isolators/network/port_mapping.cpp
+++ b/src/slave/containerizer/mesos/isolators/network/port_mapping.cpp
@@ -1883,7 +1883,7 @@ Try<Isolator*> PortMappingIsolatorProcess::create(const
Flags& flags)
(speed < flags.minimum_egress_rate_limit.get())) {
return Error(
"The given minimum egress traffic limit for containers " +
- stringify(flags.maximum_egress_rate_limit.get().bytes()) +
+ stringify(flags.minimum_egress_rate_limit.get().bytes()) +
" Bytes/s is greater than the host link speed " +
stringify(speed.bytes()) + " Bytes/s");
}