Clarify error string for cases when reading from non-primary translate store when given non-existent key

This commit is contained in:
Cody Soyland 2018-07-31 12:19:09 -05:00
parent 0816ea8ecb
commit be60a91a58

View file

@ -31,7 +31,7 @@ var (
ErrTranslateStoreClosed = errors.New("pilosa: translate store closed")
ErrTranslateStoreReaderClosed = errors.New("pilosa: translate store reader closed")
ErrReplicationNotSupported = errors.New("pilosa: replication not supported")
ErrTranslateStoreReadOnly = errors.New("pilosa: operation not supported, translate store read only")
ErrTranslateStoreReadOnly = errors.New("pilosa: translate store could not find or create key, translate store read only")
)
// TranslateStore is the storage for translation string-to-uint64 values.