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:
Whyrusleeping 2020-01-27 17:16:36 -08:00 committed by GitHub
commit 9c6c5aef5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,6 +90,7 @@ var DaemonCmd = &cli.Command{
}
ctx := context.Background()
log.Infof("lotus repo: %s", cctx.String("repo"))
r, err := repo.NewFS(cctx.String("repo"))
if err != nil {
return xerrors.Errorf("opening fs repo: %w", err)