Skip to content

Commit

Permalink
more lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benjirewis committed Sep 10, 2024
1 parent afda492 commit 837f1b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robot/web/web_c.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (svc *webService) addNewStreams(ctx context.Context) error {
return nil
}

func (svc *webService) makeStreamServer(ctx context.Context, logger logging.Logger) (*StreamServer, error) {
func (svc *webService) makeStreamServer(ctx context.Context) (*StreamServer, error) {
svc.refreshVideoSources()
svc.refreshAudioSources()
var streams []gostream.Stream
Expand Down Expand Up @@ -336,7 +336,7 @@ func (svc *webService) closeStreamServer() {

func (svc *webService) initStreamServer(ctx context.Context, options *weboptions.Options, logger logging.Logger) error {
var err error
svc.streamServer, err = svc.makeStreamServer(ctx, logger)
svc.streamServer, err = svc.makeStreamServer(ctx)
if err != nil {
return err
}
Expand Down

0 comments on commit 837f1b1

Please sign in to comment.