Adapt listeners to upstream API changes in go-systemd
Signed-off-by: Christian Muehlhaeuser <muesli@gmail.com> Upstream-commit: 703c3c573599e20e1059d18f74cb4a05647587ae Component: engine
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user