Skip to content

Commit

Permalink
Deprecate the QueueInspect function (#168)
Browse files Browse the repository at this point in the history
Fixes #167

#165
  • Loading branch information
lukebakken authored Feb 8, 2023
1 parent 7b4cb59 commit 444e310
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,8 @@ declared with specific parameters.
If a queue by this name does not exist, an error will be returned and the
channel will be closed.
Deprecated: Use QueueDeclare with "Passive: true" instead.
*/
func (ch *Channel) QueueInspect(name string) (Queue, error) {
req := &queueDeclare{
Expand Down

0 comments on commit 444e310

Please sign in to comment.