From aec1713885e5048fbe24c78d68bada9ad1d8c02a Mon Sep 17 00:00:00 2001 From: Max Kerp Date: Wed, 11 Apr 2018 15:14:51 +0200 Subject: [PATCH] Fix typo in error message 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 --- repo/fsrepo/fsrepo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo/fsrepo/fsrepo.go b/repo/fsrepo/fsrepo.go index 44c0af35b..418a7cf98 100644 --- a/repo/fsrepo/fsrepo.go +++ b/repo/fsrepo/fsrepo.go @@ -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)