Skip to content

Commit

Permalink
FIX: publisher args
Browse files Browse the repository at this point in the history
  • Loading branch information
marionleborgne committed Oct 8, 2017
1 parent 9096938 commit 475537a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cloudbrain/publishers/rabbitmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def register(self, metric_name, num_channels, buffer_size=1):

def _rabbitmq_register(self, routing_key):
channel = self.connection.channel()
channel.exchange_declare(exchange=routing_key, exchange_type='direct')
channel.exchange_declare(exchange=routing_key, type='direct')
self.channels[routing_key] = channel

def publish(self, metric_name, data):
Expand Down

0 comments on commit 475537a

Please sign in to comment.