paramfetch review
This commit is contained in:
parent
713f08e9bf
commit
2dbd92073f
4
Makefile
4
Makefile
@ -75,8 +75,8 @@ build: $(BUILD_DEPS)
|
||||
rm -f lotus lotus-storage-miner
|
||||
go build -o lotus ./cmd/lotus
|
||||
go build -o lotus-storage-miner ./cmd/lotus-storage-miner
|
||||
rice append --exec lotus -i ./build
|
||||
rice append --exec lotus-storage-miner -i ./build
|
||||
go run github.com/GeertJohan/go.rice/rice append --exec lotus -i ./build
|
||||
go run github.com/GeertJohan/go.rice/rice append --exec lotus-storage-miner -i ./build
|
||||
.PHONY: build
|
||||
|
||||
benchmarks:
|
||||
|
@ -27,7 +27,9 @@ type paramFile struct {
|
||||
}
|
||||
|
||||
func GetParams(storage bool) error {
|
||||
os.Mkdir(paramdir, 0755)
|
||||
if err := os.Mkdir(paramdir, 0755); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
var params map[string]paramFile
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user