Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion service_exports.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ type serviceExports struct {
}

func (s *serviceExports) Get(subject string) ServiceExport {
return s.getServiceExport(subject)
se := s.getServiceExport(subject)
if se == nil {
return nil
}

return se
}

func (s *serviceExports) GetByName(name string) ServiceExport {
Expand Down