提交 631d2154 作者: Brian Tiger Chow

fix(fsrepo): use "please run ipfs init" message

上级 e84fc5df
......@@ -49,7 +49,7 @@ func (r *FSRepo) Open() error {
return debugerror.Errorf("repo is %s", r.state)
}
if !IsInitialized(r.path) {
return debugerror.New("repo is not initialized")
return debugerror.New("ipfs not initialized, please run 'ipfs init'")
}
// check repo path, then check all constituent parts.
// TODO acquire repo lock
......
......@@ -10,7 +10,7 @@ test_description="Test user-provided config values"
test_init_ipfs
test_expect_success "bootstrap doesn't overwrite user-provided, top-level keys" '
test_expect_success "bootstrap doesn't overwrite user-provided config keys (top-level)" '
ipfs config Foo.Bar baz &&
ipfs bootstrap rm --all &&
echo "baz" >expected &&
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论