component: Automatically determine names

This commit is contained in:
Tom Wiesing 2022-10-17 20:39:53 +02:00
parent 10df1c3243
commit e320bb37bb
No known key found for this signature in database
31 changed files with 84 additions and 113 deletions

View file

@ -41,7 +41,7 @@ func (s server) Run(context wisski_distillery.Context) error {
context.Printf("Listening on %s\n", s.Bind)
// make a new listener
listener, err := dis.Core.Environment.Listen("tcp", s.Bind)
listener, err := dis.Still.Environment.Listen("tcp", s.Bind)
if err != nil {
return errServerListen.Wrap(err)
}