Fix not calling rpc.init(CONF) in basic Service class

When I refactor the rpc.init calling in basic Service class,
I miss calling rpc.init(CONF) in it. This patch fixes this error.

Change-Id: Ic8a163025da627da8f7b19a2641689f30954e959
Closes-Bug: #1536716
This commit is contained in:
chenying 2016-01-22 09:56:25 +08:00
parent 4b77c7c651
commit 8208c4bfb0
1 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,8 @@ class Service(service.Service):
service_name=None, *args, **kwargs):
super(Service, self).__init__()
rpc.init(CONF)
self.host = host
self.binary = binary
self.topic = topic