sorted: minor typo

Change-Id: I51fc405cc0d8e43f7893b0e088f296126639cb4e
This commit is contained in:
mpl 2013-12-10 01:25:04 +01:00
parent aba07a9db1
commit 6c49c746e2
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)