Skip to content

Commit 26f8c8c

Browse files
committed
cre-1601: better comment
1 parent ffe484b commit 26f8c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/workflows/ring/plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func (p *Plugin) ObservationQuorum(_ context.Context, _ ocr3types.OutcomeContext
125125
}
126126

127127
func (p *Plugin) Outcome(_ context.Context, outctx ocr3types.OutcomeContext, _ types.Query, aos []types.AttributedObservation) (ocr3types.Outcome, error) {
128-
// Load prior state
128+
// Bootstrap with minimum shards on first round; subsequent rounds build on prior outcome
129129
prior := &pb.Outcome{}
130130
if outctx.PreviousOutcome == nil {
131131
prior.Routes = map[string]*pb.WorkflowRoute{}

0 commit comments

Comments
 (0)