1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #2563 from thaJeztah/no_error

log error instead if disabling IPv6 router advertisement failed
This commit is contained in:
Arko Dasgupta 2020-06-12 11:08:13 -07:00 committed by GitHub
commit c37654e9d3

View file

@ -63,7 +63,7 @@ func setupDefaultSysctl(config *networkConfiguration, i *bridgeInterface) error
return nil
}
if err := ioutil.WriteFile(sysPath, []byte{'0', '\n'}, 0644); err != nil {
return fmt.Errorf("libnetwork: Unable to disable IPv6 router advertisement: %v", err)
logrus.WithError(err).Warn("unable to disable IPv6 router advertisement")
}
return nil
}