1
0
Fork 0
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:
Flavio Crisciani 2017-07-28 13:30:53 -07:00
parent 5a9b20ed3a
commit ecb3daa49e

View file

@ -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
} }