1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Adapt listeners to upstream API changes in go-systemd

Signed-off-by: Christian Muehlhaeuser <muesli@gmail.com>
This commit is contained in:
Christian Muehlhaeuser 2018-05-23 21:57:30 +02:00
parent d393774a53
commit 703c3c5735
No known key found for this signature in database
GPG key ID: BA4CF857DD4117E9

View file

@ -62,9 +62,9 @@ func listenFD(addr string, tlsConfig *tls.Config) ([]net.Listener, error) {
)
// socket activation
if tlsConfig != nil {
listeners, err = activation.TLSListeners(false, tlsConfig)
listeners, err = activation.TLSListeners(tlsConfig)
} else {
listeners, err = activation.Listeners(false)
listeners, err = activation.Listeners()
}
if err != nil {
return nil, err