Merge pull request #99355 from chymy/dockershim-unused-func

Remove unused func in kubernetes/pkg/kubelet/dockershim
This commit is contained in:
Kubernetes Prow Robot 2021-02-24 13:39:36 -08:00 committed by GitHub
commit 1fb27c4b5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View File

@ -154,7 +154,3 @@ func getNetworkNamespace(c *dockertypes.ContainerJSON) (string, error) {
}
return fmt.Sprintf(dockerNetNSFmt, c.State.Pid), nil
}
// applyExperimentalCreateConfig applys experimental configures from sandbox annotations.
func applyExperimentalCreateConfig(createConfig *dockertypes.ContainerCreateConfig, annotations map[string]string) {
}

View File

@ -59,7 +59,3 @@ func (ds *dockerService) determinePodIPBySandboxID(uid string) []string {
func getNetworkNamespace(c *dockertypes.ContainerJSON) (string, error) {
return "", fmt.Errorf("unsupported platform")
}
// applyExperimentalCreateConfig applies experimental configures from sandbox annotations.
func applyExperimentalCreateConfig(createConfig *dockertypes.ContainerCreateConfig, annotations map[string]string) {
}