storagefsm: Add missing planners
This commit is contained in:
parent
65653a1747
commit
ba87cb4fa9
4
extern/storage-sealing/fsm.go
vendored
4
extern/storage-sealing/fsm.go
vendored
@ -159,8 +159,12 @@ var fsmPlanners = map[SectorState]func(events []statemachine.Event, state *Secto
|
|||||||
on(SectorFaultReported{}, FaultReported),
|
on(SectorFaultReported{}, FaultReported),
|
||||||
),
|
),
|
||||||
|
|
||||||
|
FaultReported: final, // not really supported right now
|
||||||
|
|
||||||
FaultedFinal: final,
|
FaultedFinal: final,
|
||||||
Removed: final,
|
Removed: final,
|
||||||
|
|
||||||
|
FailedUnrecoverable: final,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Sealing) plan(events []statemachine.Event, state *SectorInfo) (func(statemachine.Context, SectorInfo) error, uint64, error) {
|
func (m *Sealing) plan(events []statemachine.Event, state *SectorInfo) (func(statemachine.Context, SectorInfo) error, uint64, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user