From d51699ee792fe84f5865b1a7d7745347669f1bd4 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. --- 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 44c0af35b0c7..418a7cf98304 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)