Remove deprecated function use
This commit is contained in:
parent
873fdcd5c2
commit
9f7ec20593
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ func (s server) Run(context wisski_distillery.Context) error {
|
|||
zerolog.Ctx(context.Context).Info().Str("bind", s.Bind).Msg("listening public server")
|
||||
publicL, err := net.Listen("tcp", s.Bind)
|
||||
if err != nil {
|
||||
return errServerListen.Wrap(err)
|
||||
return errServerListen.WrapError(err)
|
||||
}
|
||||
defer publicS.Shutdown(context.Context)
|
||||
go func() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue