Fixed incorrect bin name

the bin name should be tacker, not neutron.

Change-Id: Ia97bf57cd074da56e1b0428338d4178591385111
This commit is contained in:
Li Jiale 2018-11-11 18:58:41 +08:00
parent 76cdc8deef
commit 3b85a611a5
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ class Service(n_rpc.Service):
if not binary:
binary = os.path.basename(inspect.stack()[-1][1])
if not topic:
topic = binary.rpartition('neutron-')[2]
topic = binary.rpartition('tacker-')[2]
topic = topic.replace("-", "_")
if not manager:
manager = cfg.CONF.get('%s_manager' % topic, None)