Index: service/datastore/checkfilter.go |
diff --git a/service/rawdatastore/checkfilter.go b/service/datastore/checkfilter.go |
similarity index 92% |
rename from service/rawdatastore/checkfilter.go |
rename to service/datastore/checkfilter.go |
index bf091358c7b0a21f0b17b99fc2623fea19845c61..466ad2e256310d48f57c95c8ec5af4013782c8b0 100644 |
--- a/service/rawdatastore/checkfilter.go |
+++ b/service/datastore/checkfilter.go |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-package rawdatastore |
+package datastore |
import ( |
"fmt" |
@@ -54,7 +54,7 @@ func (tcf *checkFilter) GetMulti(keys []Key, cb GetMultiCB) error { |
func (tcf *checkFilter) PutMulti(keys []Key, vals []PropertyLoadSaver, cb PutMultiCB) error { |
if len(keys) != len(vals) { |
- return fmt.Errorf("rawdatastore: GetMulti with mismatched keys/vals lengths (%d/%d)", len(keys), len(vals)) |
+ return fmt.Errorf("datastore: GetMulti with mismatched keys/vals lengths (%d/%d)", len(keys), len(vals)) |
} |
if len(keys) == 0 { |
return nil |
@@ -70,7 +70,7 @@ func (tcf *checkFilter) PutMulti(keys []Key, vals []PropertyLoadSaver, cb PutMul |
} |
v := vals[i] |
if v == nil { |
- lme.Assign(i, errors.New("rawdatastore: PutMulti got nil vals entry")) |
+ lme.Assign(i, errors.New("datastore: PutMulti got nil vals entry")) |
} else { |
lme.Assign(i, v.Problem()) |
} |