Fixed incorrect bin name
the bin name should be tacker, not neutron. Change-Id: Ia97bf57cd074da56e1b0428338d4178591385111
This commit is contained in:
parent
76cdc8deef
commit
3b85a611a5
|
@ -196,7 +196,7 @@ class Service(n_rpc.Service):
|
||||||
if not binary:
|
if not binary:
|
||||||
binary = os.path.basename(inspect.stack()[-1][1])
|
binary = os.path.basename(inspect.stack()[-1][1])
|
||||||
if not topic:
|
if not topic:
|
||||||
topic = binary.rpartition('neutron-')[2]
|
topic = binary.rpartition('tacker-')[2]
|
||||||
topic = topic.replace("-", "_")
|
topic = topic.replace("-", "_")
|
||||||
if not manager:
|
if not manager:
|
||||||
manager = cfg.CONF.get('%s_manager' % topic, None)
|
manager = cfg.CONF.get('%s_manager' % topic, None)
|
||||||
|
|
Loading…
Reference in New Issue