Skip to content

Commit

Permalink
rename updateUncompressPayload to updateUncompressedPayload
Browse files Browse the repository at this point in the history
  • Loading branch information
gunli committed Jul 27, 2023
1 parent 118945f commit 3bd5c0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pulsar/producer_partition.go
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ func (p *partitionProducer) updateSchema(sr *sendRequest) error {
return nil
}

func (p *partitionProducer) updateUncompressPayload(sr *sendRequest) error {
func (p *partitionProducer) updateUncompressedPayload(sr *sendRequest) error {
// read payload from message
sr.uncompressedPayload = sr.msg.Payload

Expand Down Expand Up @@ -1221,7 +1221,7 @@ func (p *partitionProducer) internalSendAsync(ctx context.Context, msg *Producer
return
}

err = p.updateUncompressPayload(sr)
err = p.updateUncompressedPayload(sr)
if err != nil {
p.log.Error(err)
sr.done(nil, err)
Expand Down

0 comments on commit 3bd5c0e

Please sign in to comment.