Remove unused func in kubernetes/pkg/kubelet/dockershim

Signed-off-by: chymy <chang.min1@zte.com.cn>
This commit is contained in:
chymy
2021-02-23 06:36:22 -05:00
parent 54691ed806
commit e2f17aeb2a
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) {
}