From 6c49c746e28fba58d383dcba6e02b1ee908a2815 Mon Sep 17 00:00:00 2001 From: mpl Date: Tue, 10 Dec 2013 01:25:04 +0100 Subject: [PATCH] sorted: minor typo Change-Id: I51fc405cc0d8e43f7893b0e088f296126639cb4e --- pkg/sorted/kv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sorted/kv.go b/pkg/sorted/kv.go index e3d70e2d0..37b272bd8 100644 --- a/pkg/sorted/kv.go +++ b/pkg/sorted/kv.go @@ -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)