diff --git a/proxy/create_container_interceptor.go b/proxy/create_container_interceptor.go index 3aae2df4..98dc1c6d 100644 --- a/proxy/create_container_interceptor.go +++ b/proxy/create_container_interceptor.go @@ -77,13 +77,6 @@ func (i *createContainerInterceptor) setWeaveWaitEntrypoint(container *docker.Co return nil } -func configHasEntrypoint(c *docker.Config) bool { - return c != nil && len(c.Entrypoint) > 0 -} -func configHasCmd(c *docker.Config) bool { - return c != nil && len(c.Cmd) > 0 -} - func (i *createContainerInterceptor) setWeaveDNS(container *createContainerRequestBody) error { if !i.withDNS { return nil