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:
parent
d393774a53
commit
703c3c5735
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue