proxy: fix gofmt violations

Signed-off-by: David Scott <dave.scott@docker.com>
This commit is contained in:
David Scott
2016-04-22 16:10:36 +01:00
parent 610dac2fb7
commit 5dee7f7bfd
2 changed files with 9 additions and 11 deletions

View File

@@ -4,8 +4,8 @@ package libproxy
import (
"fmt"
"net"
"github.com/djs55/vsock"
"net"
)
// Proxy defines the behavior of a proxy. It forwards traffic back and forth
@@ -25,8 +25,6 @@ type Proxy interface {
BackendAddr() net.Addr
}
// NewProxy creates a Proxy according to the specified frontendAddr and backendAddr.
func NewProxy(frontendAddr *vsock.VsockAddr, backendAddr net.Addr) (Proxy, error) {
switch backendAddr.(type) {