|
@@ -30,8 +30,6 @@ type Config struct {
|
|
|
|
|
|
// DaemonCfg represents libnetwork core configuration
|
|
|
type DaemonCfg struct {
|
|
|
- Debug bool
|
|
|
- Experimental bool
|
|
|
DataDir string
|
|
|
ExecRoot string
|
|
|
DefaultNetwork string
|
|
@@ -153,14 +151,6 @@ func OptionPluginGetter(pg plugingetter.PluginGetter) Option {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// OptionExperimental function returns an option setter for experimental daemon
|
|
|
-func OptionExperimental(exp bool) Option {
|
|
|
- return func(c *Config) {
|
|
|
- logrus.Debugf("Option Experimental: %v", exp)
|
|
|
- c.Daemon.Experimental = exp
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
// OptionNetworkControlPlaneMTU function returns an option setter for control plane MTU
|
|
|
func OptionNetworkControlPlaneMTU(exp int) Option {
|
|
|
return func(c *Config) {
|