Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
frostbyte73 committed Sep 6, 2024
1 parent 388d49b commit b18f3ec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/server/server_ipc.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,11 @@ func (s *Server) HandlerUpdate(ctx context.Context, info *livekit.EgressInfo) (*
}

func (s *Server) HandlerFinished(ctx context.Context, req *ipc.HandlerFinishedRequest) (*emptypb.Empty, error) {
_, err := s.ioClient.UpdateEgress(ctx, req.Info)
if err != nil {
if err := s.ioClient.UpdateEgress(ctx, req.Info); err != nil {
logger.Errorw("failed to update egress", err)
}

if err = s.StoreProcessEndedMetrics(req.EgressId, req.Metrics); err != nil {
if err := s.StoreProcessEndedMetrics(req.EgressId, req.Metrics); err != nil {
logger.Errorw("failed to store ms", err)
}

Expand Down

0 comments on commit b18f3ec

Please sign in to comment.