forked from TrueCloudLab/distribution
Improve socket-activation message
Co-authored-by: James Hewitt <james.hewitt@gmail.com> Signed-off-by: Geoffrey Hausheer <rc2012@pblue.org>
This commit is contained in:
parent
9721db9504
commit
a9399e9ea2
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ func NewListener(net, laddr string) (net.Listener, error) {
|
|||
return nil, fmt.Errorf("unknown address type %s", net)
|
||||
}
|
||||
case 1:
|
||||
log.Info("Socet-activation is being used. Overriding requested address")
|
||||
log.Info("Using systemd socket activation instead of any configured network listeners")
|
||||
return listeners[0], nil
|
||||
default:
|
||||
return nil, fmt.Errorf("Found %d socket-activation listeners, only expected 1", len(listeners))
|
||||
|
|
Loading…
Reference in a new issue