mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-12 15:51:01 +00:00
use pilosa.ErrNotImplemented for unused interface implementations
This commit is contained in:
parent
9255d43e9a
commit
d546b8ac01
1 changed files with 4 additions and 4 deletions
|
|
@ -415,19 +415,19 @@ func (s *InMemTranslateStore) EntryReader(ctx context.Context, offset uint64) (T
|
|||
}
|
||||
|
||||
// WriteTo ensures that the TranslateStore implements io.WriterTo.
|
||||
// TODO: It's not important that this be implemented. It would really
|
||||
// It's not important that this be implemented. It would really
|
||||
// only be necessary if we wanted to test cluster resizing while using
|
||||
// an in-memory translate store.
|
||||
func (s *InMemTranslateStore) WriteTo(w io.Writer) (int64, error) {
|
||||
return 0, nil
|
||||
return 0, ErrNotImplemented
|
||||
}
|
||||
|
||||
// ReadFrom ensures that the TranslateStore implements io.ReaderFrom.
|
||||
// TODO: It's not important that this be implemented. It would really
|
||||
// It's not important that this be implemented. It would really
|
||||
// only be necessary if we wanted to test cluster resizing while using
|
||||
// an in-memory translate store.
|
||||
func (s *InMemTranslateStore) ReadFrom(r io.Reader) (int64, error) {
|
||||
return 0, nil
|
||||
return 0, ErrNotImplemented
|
||||
}
|
||||
|
||||
// MaxID returns the highest identifier in the store.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue