From be60a91a58f9fbabe2b456774cd32c952f99a6e0 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Tue, 31 Jul 2018 12:19:09 -0500 Subject: [PATCH] Clarify error string for cases when reading from non-primary translate store when given non-existent key --- translate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translate.go b/translate.go index 09eed00b2..00f11723e 100644 --- a/translate.go +++ b/translate.go @@ -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.