undo update size allocate
Some checks are pending
codeql / analyze (go) (pull_request) Blocked by required conditions
prbuild / test (pull_request) Blocked by required conditions
prbuild / lint (pull_request) Blocked by required conditions
automerge / automerge (pull_request) Has been skipped
dependabot-automerge / automerge (pull_request) Has been skipped
autoapprove / autoapprove (pull_request) Successful in 6s
Some checks are pending
codeql / analyze (go) (pull_request) Blocked by required conditions
prbuild / test (pull_request) Blocked by required conditions
prbuild / lint (pull_request) Blocked by required conditions
automerge / automerge (pull_request) Has been skipped
dependabot-automerge / automerge (pull_request) Has been skipped
autoapprove / autoapprove (pull_request) Successful in 6s
This commit is contained in:
parent
c4d6924efe
commit
3ceffd88d0
@ -54,7 +54,7 @@ func (m *hookTracer) OnProduceRecordBuffered(r *kgo.Record) {
|
||||
|
||||
omd, ok := metadata.FromOutgoingContext(r.Context)
|
||||
if !ok {
|
||||
omd = metadata.New(0)
|
||||
omd = metadata.New(len(r.Headers))
|
||||
}
|
||||
|
||||
md := metadata.Copy(omd)
|
||||
@ -121,7 +121,7 @@ func (m *hookTracer) OnFetchRecordBuffered(r *kgo.Record) {
|
||||
}
|
||||
omd, ok := metadata.FromIncomingContext(r.Context)
|
||||
if !ok {
|
||||
omd = metadata.New(0)
|
||||
omd = metadata.New(len(r.Headers))
|
||||
}
|
||||
|
||||
md := metadata.Copy(omd)
|
||||
|
Loading…
Reference in New Issue
Block a user