Skip to content

Commit 44c7976

Browse files
fixed trunk
1 parent bfa11da commit 44c7976

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

worker/draft.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -849,8 +849,8 @@ func (n *node) processApplyCh() {
849849
}
850850
span := trace.SpanFromContext(n.ctx)
851851
if perr != nil {
852-
glog.Errorf("Applying proposal. Error: %v. Proposal: %q.", perr, proposal)
853-
span.AddEvent(fmt.Sprintf("Applying proposal failed. Error: %v Proposal: %q", perr, proposal))
852+
glog.Errorf("Applying proposal. Error: %v. Proposal: %q.", perr, &proposal)
853+
span.AddEvent(fmt.Sprintf("Applying proposal failed. Error: %v Proposal: %q", perr, &proposal))
854854
}
855855
span.AddEvent("Applied proposal with key: %d, index: %d. Err: %v",
856856
trace.WithAttributes(

0 commit comments

Comments
 (0)