mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-07 18:28:27 +00:00
Do not need to use logrus, not using any features of it here.
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
This commit is contained in:
committed by
Justin Cormack
parent
28afc72a97
commit
d0c3e873f6
@@ -4,10 +4,9 @@ import (
|
||||
"bytes"
|
||||
"encoding/binary"
|
||||
"io"
|
||||
"log"
|
||||
"net"
|
||||
"sync"
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
)
|
||||
|
||||
type udpListener interface {
|
||||
@@ -32,7 +31,7 @@ func (u *udpEncapsulator) getConn() (net.Conn, error) {
|
||||
}
|
||||
conn, err := u.listener.Accept()
|
||||
if err != nil {
|
||||
logrus.Printf("Failed to accept connection: %#v", err)
|
||||
log.Printf("Failed to accept connection: %#v", err)
|
||||
return nil, err
|
||||
}
|
||||
u.conn = &conn
|
||||
|
||||
Reference in New Issue
Block a user