Commit 6fcb646c authored by Tim Hockin's avatar Tim Hockin

Set sync frequency during integration

Without this, the sync loop runs continuously. IMO: This right here is why open structs are inferior to explicity constructors that take 75 arguments - you can't forget to pass an argument.
parent d098456b
...@@ -157,6 +157,7 @@ func SimpleRunKubelet(etcdClient tools.EtcdClient, dockerClient dockertools.Dock ...@@ -157,6 +157,7 @@ func SimpleRunKubelet(etcdClient tools.EtcdClient, dockerClient dockertools.Dock
Address: util.IP(net.ParseIP(address)), Address: util.IP(net.ParseIP(address)),
EnableServer: true, EnableServer: true,
EnableDebuggingHandlers: true, EnableDebuggingHandlers: true,
SyncFrequency: 3 * time.Second,
} }
RunKubelet(&kcfg) RunKubelet(&kcfg)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment