well, put the TODO back, just in a different place

This commit is contained in:
Travis 2020-05-10 19:18:54 -05:00
parent d546b8ac01
commit bc8244a581
No known key found for this signature in database
GPG key ID: 37080CC2042BA34E

View file

@ -419,7 +419,7 @@ func (s *InMemTranslateStore) EntryReader(ctx context.Context, offset uint64) (T
// 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, ErrNotImplemented
return 0, nil // TODO: try to use ErrNotImplemented
}
// ReadFrom ensures that the TranslateStore implements io.ReaderFrom.
@ -427,7 +427,7 @@ func (s *InMemTranslateStore) WriteTo(w io.Writer) (int64, error) {
// 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, ErrNotImplemented
return 0, nil // TODO: try to use ErrNotImplemented
}
// MaxID returns the highest identifier in the store.