From 07e3215d11c3bcdbb4f74b0ba693d172eae18632 Mon Sep 17 00:00:00 2001 From: Jason Wilder Date: Thu, 31 Mar 2016 09:11:01 -0600 Subject: [PATCH] Remove ununsed Series.match func --- tsdb/meta.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tsdb/meta.go b/tsdb/meta.go index b46a7af687a..1adb578b9d0 100644 --- a/tsdb/meta.go +++ b/tsdb/meta.go @@ -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