Remove ununsed Series.match func

pull/6168/head
Jason Wilder 2016-03-31 09:11:01 -06:00
parent 34f1f4a1fb
commit 07e3215d11
1 changed files with 0 additions and 13 deletions

View File

@ -1353,19 +1353,6 @@ func (s *Series) InitializeShards() {
s.mu.Unlock()
}
// match returns true if all tags match the series' tags.
func (s *Series) match(tags map[string]string) bool {
s.mu.RLock()
defer s.mu.RUnlock()
for k, v := range tags {
if s.Tags[k] != v {
return false
}
}
return true
}
// SeriesIDs is a convenience type for sorting, checking equality, and doing
// union and intersection of collections of series ids.
type SeriesIDs []uint64