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 {