Skip to content

Commit

Permalink
Remove ununsed Series.match func
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilder committed Mar 31, 2016
1 parent 34f1f4a commit 07e3215
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tsdb/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 07e3215

Please sign in to comment.