Skip to content

Commit

Permalink
Handler redundant cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Plakhotnikov Vladimir committed Apr 2, 2024
1 parent 56ff7ed commit 9c20a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (rh *RespHandler) Handle(pld *payload.Payload, jb jobs.Job) error {
}
return nil
default:
rh.log.Warn("unknown response type, acknowledging the JOB", zap.Uint32("type", p.T))
rh.log.Warn("unknown response type, acknowledging the JOB", zap.Uint32("type", uint32(p.T)))
err = jb.Ack()
if err != nil {
return errors.E(op, err)
Expand Down

0 comments on commit 9c20a19

Please sign in to comment.