Skip to content

Commit

Permalink
Merge pull request #9 from orikey0/hotfix/fix_func_DeliverResp
Browse files Browse the repository at this point in the history
feat: fix func DeliverResp args
  • Loading branch information
yedamao authored Aug 7, 2024
2 parents b97fe0a + fef1c14 commit f3241c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmpp/cmpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (s *Cmpp) Cancel(msgId uint64) error {

func (s *Cmpp) DeliverResp(sequenceID uint32, msgId uint64, result uint8) error {

op, err := protocol.NewDeliverResp(sequenceID, msgId, protocol.OK)
op, err := protocol.NewDeliverResp(sequenceID, msgId, result)
if err != nil {
return err
}
Expand Down

0 comments on commit f3241c6

Please sign in to comment.