gofmt
This commit is contained in:
parent
baf91f08a1
commit
e7d65be90a
@ -56,4 +56,3 @@ var PprofGoroutines = &cli.Command{
|
|||||||
return r.Body.Close()
|
return r.Body.Close()
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1
extern/storage-sealing/sealiface/config.go
vendored
1
extern/storage-sealing/sealiface/config.go
vendored
@ -13,4 +13,3 @@ type Config struct {
|
|||||||
|
|
||||||
WaitDealsDelay time.Duration
|
WaitDealsDelay time.Duration
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
extern/storage-sealing/stats.go
vendored
2
extern/storage-sealing/stats.go
vendored
@ -7,6 +7,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type statSectorState int
|
type statSectorState int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
sstSealing statSectorState = iota
|
sstSealing statSectorState = iota
|
||||||
sstFailed
|
sstFailed
|
||||||
@ -35,7 +36,6 @@ func (ss *SectorStats) updateSector(id abi.SectorID, st SectorState) {
|
|||||||
ss.totals[sst]++
|
ss.totals[sst]++
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// return the number of sectors currently in the sealing pipeline
|
// return the number of sectors currently in the sealing pipeline
|
||||||
func (ss *SectorStats) curSealing() uint64 {
|
func (ss *SectorStats) curSealing() uint64 {
|
||||||
ss.lk.Lock()
|
ss.lk.Lock()
|
||||||
|
Loading…
Reference in New Issue
Block a user