mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-28 17:03:58 +08:00
Merge pull request #4933 from maxkerp/patch-2
Fix typo in error message
This commit is contained in:
@ -398,7 +398,7 @@ func (r *FSRepo) openDatastore() error {
|
|||||||
if r.config.Datastore.Type != "" || r.config.Datastore.Path != "" {
|
if r.config.Datastore.Type != "" || r.config.Datastore.Path != "" {
|
||||||
return fmt.Errorf("old style datatstore config detected")
|
return fmt.Errorf("old style datatstore config detected")
|
||||||
} else if r.config.Datastore.Spec == nil {
|
} 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)
|
dsc, err := AnyDatastoreConfig(r.config.Datastore.Spec)
|
||||||
|
Reference in New Issue
Block a user