cosmetic: remove dead code

This commit is contained in:
Matthias Radestock committed 2015-05-28 15:17:20 +01:00
1 parent 5c1297d560
commit ba064a906e
1 file changed
-7
-7
View File
@@ -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