Remove dead code from pkg/kubelet/...

This commit is contained in:
Tim Allclair
2019-08-08 13:25:30 -07:00
parent 90df64b75b
commit 3f510c69f6
20 changed files with 15 additions and 108 deletions

View File

@@ -159,11 +159,6 @@ func (kl *Kubelet) getPodResourcesDir() string {
return filepath.Join(kl.getRootDir(), config.DefaultKubeletPodResourcesDirName)
}
// getPluginsDirSELinuxLabel returns the selinux label to be applied on plugin directories
func (kl *Kubelet) getPluginsDirSELinuxLabel() string {
return config.KubeletPluginsDirSELinuxLabel
}
// GetPods returns all pods bound to the kubelet and their spec, and the mirror
// pods.
func (kl *Kubelet) GetPods() []*v1.Pod {