Skip to content

Commit

Permalink
sealing pipeline: Clarify maybeNotifyRemoteDone
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Sep 19, 2022
1 parent 859c260 commit 015139d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions storage/pipeline/fsm.go
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,9 @@ func planOneOrIgnore(ts ...func() (mut mutator, next func(*SectorInfo) (more boo
}
}

// maybeNotifyRemoteDone will send sealing-done notification to the RemoteSealingDone
// if the RemoteSealingDoneEndpoint is set. If RemoteSealingDoneEndpoint is not set,
// this is no-op
func maybeNotifyRemoteDone(success bool, state string) func(*SectorInfo) {
return func(sector *SectorInfo) {
if sector.RemoteSealingDoneEndpoint == "" {
Expand Down

0 comments on commit 015139d

Please sign in to comment.