Skip to content

Commit

Permalink
Update wsbroadcastserver.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshvanahalli authored Oct 26, 2023
1 parent 70df6d6 commit e88f53e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions wsbroadcastserver/wsbroadcastserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,7 @@ func (s *WSBroadcastServer) Start(ctx context.Context) error {
err := s.StartWithHeader(ctx, header)
elapsed := time.Since(startTime)
startWithHeaderTimer.Update(elapsed)

if err != nil {
return err
}
return nil
return err
}

func (s *WSBroadcastServer) StartWithHeader(ctx context.Context, header ws.HandshakeHeader) error {
Expand Down

0 comments on commit e88f53e

Please sign in to comment.