Merge "sorted: minor typo"

This commit is contained in:
mpl 2013-12-10 14:18:20 +00:00 committed by Gerrit Code Review
commit 0fb1caae99
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ func NewKeyValue(cfg jsonconfig.Obj) (KeyValue, error) {
typ := cfg.RequiredString("type")
ctor, ok := ctors[typ]
if typ != "" && !ok {
return nil, fmt.Errorf("Invalidate index storage type %q", typ)
return nil, fmt.Errorf("Invalid sorted.KeyValue type %q", typ)
}
if ok {
s, err = ctor(cfg)