提交 aec17138 作者: Max Kerp 提交者: Maximilian Kerp

Fix typo in error message

I've never written a line of go in my life, but I came across this typo
while using go-ipfs and thought I might as well just fix it myself. I'm
pretty sure you guys are really busy.

License: MIT
Signed-off-by: 's avatarMax Kerp <maxkerp@gmail.com>
上级 0cb22ccf
......@@ -398,7 +398,7 @@ func (r *FSRepo) openDatastore() error {
if r.config.Datastore.Type != "" || r.config.Datastore.Path != "" {
return fmt.Errorf("old style datatstore config detected")
} else if r.config.Datastore.Spec == nil {
return fmt.Errorf("required Datastore.Spec entry missing form config file")
return fmt.Errorf("required Datastore.Spec entry missing from config file")
}
dsc, err := AnyDatastoreConfig(r.config.Datastore.Spec)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论