Index: filter/dscache/support.go |
diff --git a/filter/dscache/support.go b/filter/dscache/support.go |
index da6866b825a35e08541b67ffeb69465b5d1f810c..4e9b38e7e7b6862f6c14474010f0522dc353bb8b 100644 |
--- a/filter/dscache/support.go |
+++ b/filter/dscache/support.go |
@@ -63,7 +63,7 @@ func (s *supportContext) mkAllKeys(keys []*ds.Key) []string { |
size := 0 |
nums := make([]int, len(keys)) |
for i, key := range keys { |
- if !key.Incomplete() { |
+ if !key.IsIncomplete() { |
shards := s.numShards(key) |
nums[i] = shards |
size += shards |
@@ -74,7 +74,7 @@ func (s *supportContext) mkAllKeys(keys []*ds.Key) []string { |
} |
ret := make([]string, 0, size) |
for i, key := range keys { |
- if !key.Incomplete() { |
+ if !key.IsIncomplete() { |
keySuffix := HashKey(key) |
for shard := 0; shard < nums[i]; shard++ { |
ret = append(ret, fmt.Sprintf(KeyFormat, shard, keySuffix)) |