Unverified Commit e701459e authored by Whyrusleeping's avatar Whyrusleeping Committed by GitHub

Merge pull request #4933 from maxkerp/patch-2

Fix typo in error message
parents 651d5ff3 aec17138
...@@ -398,7 +398,7 @@ func (r *FSRepo) openDatastore() error { ...@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment