Merge pull request #123 from filecoin-project/gofmt

gofmt lotuspond/main.go
This commit is contained in:
Łukasz Magiera 2019-08-06 13:32:09 +02:00 committed by GitHub
commit dff5f05182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,11 +63,11 @@ func (api *api) Spawn() (nodeInfo, error) {
} }
errlogfile, err := os.OpenFile(dir + ".err.log", os.O_CREATE | os.O_WRONLY, 0644) errlogfile, err := os.OpenFile(dir+".err.log", os.O_CREATE|os.O_WRONLY, 0644)
if err != nil { if err != nil {
return nodeInfo{}, err return nodeInfo{}, err
} }
logfile, err := os.OpenFile(dir + ".out.log", os.O_CREATE | os.O_WRONLY, 0644) logfile, err := os.OpenFile(dir+".out.log", os.O_CREATE|os.O_WRONLY, 0644)
if err != nil { if err != nil {
return nodeInfo{}, err return nodeInfo{}, err
} }