mirror of https://github.com/perkeep/perkeep.git
sorted: minor typo
Change-Id: I51fc405cc0d8e43f7893b0e088f296126639cb4e
This commit is contained in:
parent
aba07a9db1
commit
6c49c746e2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue