Skip to content

Commit 2f2e45d

Browse files
committed
cre-1601: log improvement
1 parent cf0bb98 commit 2f2e45d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/workflows/ring/plugin.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ func (p *Plugin) Outcome(_ context.Context, outctx ocr3types.OutcomeContext, _ t
158158
return nil, err
159159
}
160160

161-
totalObservations := len(aos)
162161
currentShardHealth, allWorkflows, nows := p.collectShardInfo(aos)
163162

164163
// Need at least F+1 timestamps; fewer means >F faulty nodes and we can't trust this round
@@ -211,7 +210,7 @@ func (p *Plugin) Outcome(_ context.Context, outctx ocr3types.OutcomeContext, _ t
211210
Routes: routes,
212211
}
213212

214-
p.lggr.Infow("Consensus Outcome", "healthyShards", healthyShardCount, "totalObservations", totalObservations, "workflowCount", len(routes))
213+
p.lggr.Infow("Consensus Outcome", "healthyShards", healthyShardCount, "totalObservations", len(aos), "workflowCount", len(routes))
215214

216215
return proto.MarshalOptions{Deterministic: true}.Marshal(outcome)
217216
}

0 commit comments

Comments
 (0)