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.
  • Loading branch information
maxkerp committed Apr 11, 2018
1 parent 0cb22cc commit d51699e
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

1 comment on commit d51699e

@GitCop
Copy link

@GitCop GitCop commented on d51699e Apr 11, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were the following issues with your Pull Request

We ask for a few features in the commit message for Open Source licensing hygiene and commit message clarity.
git commit --amend can often help you quickly improve the commit message.
Guidelines and a script are available to help in the long run.
Your feedback on GitCop is welcome on this issue.


This message was auto-generated by https://gitcop.com

Please sign in to comment.