mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix warn log
format wrong Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
This commit is contained in:
parent
5a9b20ed3a
commit
ecb3daa49e
1 changed files with 1 additions and 2 deletions
|
@ -228,8 +228,7 @@ func OptionNetworkControlPlaneMTU(exp int) Option {
|
||||||
logrus.Debugf("Network Control Plane MTU: %d", exp)
|
logrus.Debugf("Network Control Plane MTU: %d", exp)
|
||||||
if exp < 1500 {
|
if exp < 1500 {
|
||||||
// if exp == 0 the value won't be used
|
// if exp == 0 the value won't be used
|
||||||
logrus.Warnf("Received a MTU of %d, this value is very low,",
|
logrus.Warnf("Received a MTU of %d, this value is very low, the network control plane can misbehave", exp)
|
||||||
"the network control plane can misbehave", exp)
|
|
||||||
}
|
}
|
||||||
c.Daemon.NetworkControlPlaneMTU = exp
|
c.Daemon.NetworkControlPlaneMTU = exp
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue