Merge pull request #3927 from firesWu/master

fix `lotus-miner storage find` error
This commit is contained in:
Łukasz Magiera 2020-09-20 12:47:48 +02:00 committed by GitHub
commit 0d2c8196c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -370,7 +370,7 @@ var storageFindCmd = &cli.Command{
} }
fmt.Printf("In %s (%s)\n", info.id, types[:len(types)-2]) fmt.Printf("In %s (%s)\n", info.id, types[:len(types)-2])
fmt.Printf("\tSealing: %t; Storage: %t\n", info.store.CanSeal, info.store.CanSeal) fmt.Printf("\tSealing: %t; Storage: %t\n", info.store.CanSeal, info.store.CanStore)
if localPath, ok := local[info.id]; ok { if localPath, ok := local[info.id]; ok {
fmt.Printf("\tLocal (%s)\n", localPath) fmt.Printf("\tLocal (%s)\n", localPath)
} else { } else {