Merge "rpc api config fix"
This commit is contained in:
commit
5a42a3749e
@ -15,7 +15,6 @@
|
||||
import json
|
||||
|
||||
import eventlet
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log
|
||||
import oslo_messaging
|
||||
from oslo_service import service as os_service
|
||||
@ -78,8 +77,8 @@ class VitrageApiHandlerService(os_service.Service):
|
||||
|
||||
super(VitrageApiHandlerService, self).start()
|
||||
|
||||
transport = oslo_messaging.get_transport(cfg.CONF)
|
||||
rabbit_hosts = cfg.CONF.oslo_messaging_rabbit.rabbit_hosts
|
||||
transport = oslo_messaging.get_transport(self.conf)
|
||||
rabbit_hosts = self.conf.oslo_messaging_rabbit.rabbit_hosts
|
||||
target = oslo_messaging.Target(topic=self.conf.rpc_topic,
|
||||
server=rabbit_hosts)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user