Skip to content

Commit

Permalink
Fix Listen request handling
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Aug 13, 2024
1 parent 9c09f68 commit bca34e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/controller_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ func (s *ControllerService) Listen(req *pb.ListenRequest, stream pb.ControllerSe
stream: stream,
}

_, loaded := s.listen.LoadOrStore(exporter.GetName(), lctx)
_, loaded := s.listen.LoadOrStore(exporter.Status.Uuid, lctx)

if loaded {
// TODO: in this case we should probably end the previous listener
Expand Down

0 comments on commit bca34e1

Please sign in to comment.