提交 504f0530 作者: Kevin Atkinson

Unstaged changes from last checkpoint.

Approx Date June 24.
上级 d904e888
......@@ -183,8 +183,7 @@ You can now check what blocks have been created by:
// nocopy -> filestoreEnabled
if nocopy && !cfg.Experimental.FilestoreEnabled {
res.SetError(errors.New("filestore is not enabled, see https://git.io/vNItf"),
cmdkit.ErrClient)
res.SetError(filestore.ErrFilestoreNotEnabled, cmdkit.ErrClient)
return
}
......
......@@ -9,6 +9,7 @@ package filestore
import (
"context"
"errors"
blocks "gx/ipfs/QmTRCUvZLiir12Qr6MV3HKfKMHX8Nf1Vddn6t2g5nsQSb9/go-block-format"
posinfo "gx/ipfs/QmUWsXLvYYDAaoAt9TPZpFX4ffHHMg46AHrz1ZLTN5ABbe/go-ipfs-posinfo"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论