Skip to content
Snippets Groups Projects
Commit a2151df7 authored by Erik Reid's avatar Erik Reid
Browse files

fixed bogus config for building docs

parent 33ac4931
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,11 @@ html_static_path = ['_static'] ...@@ -58,7 +58,11 @@ html_static_path = ['_static']
# start the server and dump the schema # start the server and dump the schema
with tempfile.NamedTemporaryFile(delete=False) as f: with tempfile.NamedTemporaryFile(delete=False) as f:
bogus_config = {'inventory': 'http://bogus'} bogus_config = {
'inventory': 'http://bogus',
'reporting': 'https://bogus',
'correlator_exchange': 'bogus',
}
with open(f.name, 'w') as f: with open(f.name, 'w') as f:
json.dump(bogus_config, f) json.dump(bogus_config, f)
f.flush() f.flush()
......
...@@ -145,7 +145,7 @@ def setup_channel( ...@@ -145,7 +145,7 @@ def setup_channel(
if not routing_keys: if not routing_keys:
# in case no routing keys are provided (as for fanout exchanges), # in case no routing keys are provided (as for fanout exchanges),
# ensure the queue is still bound to the exchange # ensure the queue is still bound to the exchange
routing_keys = [None] channel.queue_bind(exchange=exchange_name, queue=queue_name)
for rk in routing_keys: for rk in routing_keys:
channel.queue_bind(exchange=exchange_name, queue=queue_name, routing_key=rk) channel.queue_bind(exchange=exchange_name, queue=queue_name, routing_key=rk)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment