Corrects documentation typo
In oslo_messaging/_drivers/impl_rabbit.py, the documentation of the Consumer class is the following: """Init the Publisher class with the exchange_name, routing_key, type, durable auto_delete""". This should be corrected by putting Consumer instead of Publisher. Closes-Bug: 1623550 Change-Id: I77d09aeb1268ed79590a8b02ab5bf370f3b72caf
This commit is contained in:
parent
09fa044777
commit
afaa4d935d
@ -261,7 +261,7 @@ class Consumer(object):
|
||||
def __init__(self, exchange_name, queue_name, routing_key, type, durable,
|
||||
exchange_auto_delete, queue_auto_delete, callback,
|
||||
nowait=False, rabbit_ha_queues=None, rabbit_queue_ttl=0):
|
||||
"""Init the Publisher class with the exchange_name, routing_key,
|
||||
"""Init the Consumer class with the exchange_name, routing_key,
|
||||
type, durable auto_delete
|
||||
"""
|
||||
self.queue_name = queue_name
|
||||
|
Loading…
x
Reference in New Issue
Block a user