0
0

fix comment typo

This commit is contained in:
Steve Yen 2016-01-22 09:04:24 -08:00
parent 96577606c3
commit d97e3caf4f
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ func (w *Writer) NewBatch() store.KVBatch {
}
func (w *Writer) NewBatchEx(options store.KVBatchOptions) ([]byte, store.KVBatch, error) {
buf, b, err := w.o.NewBatchEx(options)
buf, b, err := w.o.NewBatchEx(options)
if err != nil {
return nil, nil, err
}

View File

@ -363,7 +363,7 @@ func (im *IndexMapping) UnmarshalJSON(data []byte) error {
}
func (im *IndexMapping) determineType(data interface{}) string {
// first see if the object implements Identifier
// first see if the object implements Classifier
classifier, ok := data.(Classifier)
if ok {
return classifier.Type()