Use RuntimeHooks in Kubelet.

Used in functionality that will be moved to the runtimes.
This commit is contained in:
Victor Marmol
2015-04-29 13:44:29 -07:00
parent 61d51243c5
commit 2a01a2c7e9
3 changed files with 19 additions and 26 deletions

View File

@@ -90,6 +90,7 @@ func TestRunOnce(t *testing.T) {
os: kubecontainer.FakeOS{},
volumeManager: newVolumeManager(),
}
kb.runtimeHooks = newKubeletRuntimeHooks(kb.recorder)
kb.networkPlugin, _ = network.InitNetworkPlugin([]network.NetworkPlugin{}, "", network.NewFakeHost(nil))
if err := kb.setupDataDirs(); err != nil {