From 9c71f7f1e9c04e6df5330cb28082725879ce1422 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Thu, 28 May 2015 15:23:34 +0100 Subject: [PATCH] cosmetic: remove some more dead code --- proxy/create_exec_interceptor.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/proxy/create_exec_interceptor.go b/proxy/create_exec_interceptor.go index e3a9bc30..8829bd50 100644 --- a/proxy/create_exec_interceptor.go +++ b/proxy/create_exec_interceptor.go @@ -15,12 +15,6 @@ type createExecInterceptor struct { withIPAM bool } -type createExecRequestBody struct { - *docker.Config - HostConfig *docker.HostConfig `json:"HostConfig,omitempty" yaml:"HostConfig,omitempty"` - MacAddress string `json:"MacAddress,omitempty" yaml:"MacAddress,omitempty"` -} - func (i *createExecInterceptor) InterceptRequest(r *http.Request) error { body, err := ioutil.ReadAll(r.Body) if err != nil {