diff --git a/protocol/group/selector.go b/protocol/group/selector.go index dc0b7cce..08db74c0 100644 --- a/protocol/group/selector.go +++ b/protocol/group/selector.go @@ -98,7 +98,11 @@ func (s *Selector) Start() error { } func (s *Selector) Now() string { - return s.selected.Tag() + selected := s.selected + if selected == nil { + return s.tags[0] + } + return selected.Tag() } func (s *Selector) All() []string {