mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Merge pull request #99355 from chymy/dockershim-unused-func
Remove unused func in kubernetes/pkg/kubelet/dockershim
This commit is contained in:
commit
1fb27c4b5d
@ -154,7 +154,3 @@ func getNetworkNamespace(c *dockertypes.ContainerJSON) (string, error) {
|
|||||||
}
|
}
|
||||||
return fmt.Sprintf(dockerNetNSFmt, c.State.Pid), nil
|
return fmt.Sprintf(dockerNetNSFmt, c.State.Pid), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// applyExperimentalCreateConfig applys experimental configures from sandbox annotations.
|
|
||||||
func applyExperimentalCreateConfig(createConfig *dockertypes.ContainerCreateConfig, annotations map[string]string) {
|
|
||||||
}
|
|
||||||
|
@ -59,7 +59,3 @@ func (ds *dockerService) determinePodIPBySandboxID(uid string) []string {
|
|||||||
func getNetworkNamespace(c *dockertypes.ContainerJSON) (string, error) {
|
func getNetworkNamespace(c *dockertypes.ContainerJSON) (string, error) {
|
||||||
return "", fmt.Errorf("unsupported platform")
|
return "", fmt.Errorf("unsupported platform")
|
||||||
}
|
}
|
||||||
|
|
||||||
// applyExperimentalCreateConfig applies experimental configures from sandbox annotations.
|
|
||||||
func applyExperimentalCreateConfig(createConfig *dockertypes.ContainerCreateConfig, annotations map[string]string) {
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user