pkg: proxy: fix TCPEchoServer.Close() in unit test
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
b33348682f
commit
375c8c3e4a
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ func (server *TCPEchoServer) Run() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (server *TCPEchoServer) LocalAddr() net.Addr { return server.listener.Addr() }
|
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() {
|
func (server *UDPEchoServer) Run() {
|
||||||
go func() {
|
go func() {
|
||||||
|
|
Loading…
Reference in a new issue