fix incorrect error message

This commit is contained in:
Travis Turner 2019-01-04 08:23:19 -06:00
parent a8da1363cb
commit 7db655cb8c
No known key found for this signature in database
GPG key ID: 7F08008DFD9314C9

View file

@ -1124,7 +1124,7 @@ func (f *Field) Import(rowIDs, columnIDs []uint64, timestamps []*time.Time, opts
frag, err := view.CreateFragmentIfNotExists(key.Shard)
if err != nil {
return errors.Wrap(err, "creating view")
return errors.Wrap(err, "creating fragment")
}
if err := frag.bulkImport(data.RowIDs, data.ColumnIDs, options); err != nil {