From e276f3e026b7531f9cd1ba90df985d902a69b639 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Mon, 22 Jun 2015 10:38:59 +0100 Subject: [PATCH] cosmetic --- proxy/proxy.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/proxy/proxy.go b/proxy/proxy.go index c391431f..d629f221 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -24,14 +24,6 @@ var ( execCreateRegexp = regexp.MustCompile("^(/v[0-9\\.]*)?/containers/[^/]*/exec$") ) -type Proxy struct { - Config - - dial func() (net.Conn, error) - client *docker.Client - dockerBridgeIP string -} - type Config struct { DockerAddr string ListenAddr string @@ -42,6 +34,14 @@ type Config struct { WithoutDNS bool } +type Proxy struct { + Config + + dial func() (net.Conn, error) + client *docker.Client + dockerBridgeIP string +} + func NewProxy(c Config) (*Proxy, error) { u, err := url.Parse(c.DockerAddr) if err != nil {