daemon/listeners/listeners_linux.go
Function listenFD
has 8 return statements (exceeds 4 allowed). Open
Open
func listenFD(addr string, tlsConfig *tls.Config) ([]net.Listener, error) {
var (
err error
listeners []net.Listener
)
Function Init
has 5 return statements (exceeds 4 allowed). Open
Open
func Init(proto, addr, socketGroup string, tlsConfig *tls.Config) ([]net.Listener, error) {
ls := []net.Listener{}
switch proto {
case "fd":