Skip to content

Commit

Permalink
ch.Publish -> ch.PublishWithContext
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuratczyk committed Jan 2, 2024
1 parent 6881ae1 commit 697ab71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system_tests/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ func publishToQueueAMQPS(message, username, password, hostname, amqpsPort, caFil
return err
}

err = ch.Publish(
err = ch.PublishWithContext(
context.TODO(),
"", // exchange
q.Name, // routing key
false, // mandatory
Expand Down

0 comments on commit 697ab71

Please sign in to comment.