fix(fsrepo): use "please run ipfs init" message
Brian Tiger Chow committed
Jan 12, 2015 at 18:41 UTC
631d2154f2bf3f2e619189e0354d93ae1ad356e3
2 files changed
+2
-2
repo/fsrepo/fsrepo.go
+1
-1
@@ -49,7 +49,7 @@ func (r *FSRepo) Open() error {
49
return debugerror.Errorf("repo is %s", r.state)
50
}
51
if !IsInitialized(r.path) {
52
- return debugerror.New("repo is not initialized")
52
+ return debugerror.New("ipfs not initialized, please run 'ipfs init'")
53
}
54
// check repo path, then check all constituent parts.
55
// TODO acquire repo lock
test/sharness/t0070-user-config.sh
+1
-1
@@ -10,7 +10,7 @@ test_description="Test user-provided config values"
10
11
test_init_ipfs
12
13
-test_expect_success "bootstrap doesn't overwrite user-provided, top-level keys" '
13
+test_expect_success "bootstrap doesn't overwrite user-provided config keys (top-level)" '
14
ipfs config Foo.Bar baz &&
15
ipfs bootstrap rm --all &&
16
echo "baz" >expected &&