Use RuntimeHooks in Kubelet.
Used in functionality that will be moved to the runtimes.
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user