Skip to content

Commit

Permalink
Fix typo in error message
Browse files Browse the repository at this point in the history
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: Max Kerp <maxkerp@gmail.com>
  • Loading branch information
maxkerp authored and Maximilian Kerp committed Apr 11, 2018
1 parent 0cb22cc commit aec1713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repo/fsrepo/fsrepo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aec1713

Please sign in to comment.