Skip to content

Commit

Permalink
fix: NPE OTEL on raw payload
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed Mar 12, 2023
1 parent 15adbac commit 511cfe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beanstalkjobs/item.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (d *Driver) unpack(id uint64, data []byte, out *Item) error {
Job: auto,
Ident: uid,
Payload: utils.AsString(data),
Headers: nil,
Headers: make(map[string][]string, 2),
Options: &Options{
Priority: 10,
Pipeline: (*d.pipeline.Load()).Name(),
Expand Down

0 comments on commit 511cfe4

Please sign in to comment.