Index: service/datastore/checkfilter.go |
diff --git a/service/datastore/checkfilter.go b/service/datastore/checkfilter.go |
index fe9bc57f99f3a3ea52e7f8d232b5de783e33090b..2e5616a969604ac5856df609ef7ea003a1fa85b4 100644 |
--- a/service/datastore/checkfilter.go |
+++ b/service/datastore/checkfilter.go |
@@ -19,16 +19,6 @@ type checkFilter struct { |
ns string |
} |
-func (tcf *checkFilter) AllocateIDs(incomplete *Key, n int) (start int64, err error) { |
- if n <= 0 { |
- return 0, fmt.Errorf("datastore: invalid `n` parameter in AllocateIDs: %d", n) |
- } |
- if !incomplete.PartialValid(tcf.aid, tcf.ns) { |
- return 0, ErrInvalidKey |
- } |
- return tcf.RawInterface.AllocateIDs(incomplete, n) |
-} |
- |
func (tcf *checkFilter) RunInTransaction(f func(c context.Context) error, opts *TransactionOptions) error { |
if f == nil { |
return fmt.Errorf("datastore: RunInTransaction function is nil") |