pkg: proxy: fix TCPEchoServer.Close() in unit test

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-06-11 15:27:56 +02:00
parent b33348682f
commit 375c8c3e4a

View file

@ -65,7 +65,7 @@ func (server *TCPEchoServer) Run() {
}
func (server *TCPEchoServer) LocalAddr() net.Addr { return server.listener.Addr() }
func (server *TCPEchoServer) Close() { server.listener.Addr() }
func (server *TCPEchoServer) Close() { server.listener.Close() }
func (server *UDPEchoServer) Run() {
go func() {