1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-26 23:53:19 +08:00

Merge pull request #4933 from maxkerp/patch-2

Fix typo in error message
This commit is contained in:
Whyrusleeping
2018-04-20 23:37:36 +09:00
committed by GitHub

View File

@ -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)