Merge pull request #1162 from filecoin-project/feat/show-where-you-run
Add log to show where is the lotus running
This commit is contained in:
commit
9c6c5aef5d
@ -90,6 +90,7 @@ var DaemonCmd = &cli.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
log.Infof("lotus repo: %s", cctx.String("repo"))
|
||||||
r, err := repo.NewFS(cctx.String("repo"))
|
r, err := repo.NewFS(cctx.String("repo"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return xerrors.Errorf("opening fs repo: %w", err)
|
return xerrors.Errorf("opening fs repo: %w", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user