Index: impl/prod/raw_datastore.go |
diff --git a/impl/prod/raw_datastore.go b/impl/prod/raw_datastore.go |
index 3a9b1d96c355155c41ff02eb83bcf4bbb663edc1..7eadfe3d2b080551765643cb0c7e8cf14332bc5c 100644 |
--- a/impl/prod/raw_datastore.go |
+++ b/impl/prod/raw_datastore.go |
@@ -52,7 +52,7 @@ func (d rdsImpl) AllocateIDs(incomplete *ds.Key, n int) (start int64, err error) |
return |
} |
- start, _, err = datastore.AllocateIDs(d, incomplete.Last().Kind, par, n) |
+ start, _, err = datastore.AllocateIDs(d, incomplete.Kind(), par, n) |
return |
} |