Remove accidental use of messaging.rpc_server
Hmm, maybe this means we should use __all__ to avoid exporting these imports.
This commit is contained in:
parent
5cd662a517
commit
2f4d53921f
@ -19,7 +19,7 @@ class Server(object):
|
|||||||
self.target = messaging.Target(topic='testtopic',
|
self.target = messaging.Target(topic='testtopic',
|
||||||
server=transport.conf.host,
|
server=transport.conf.host,
|
||||||
version='2.5')
|
version='2.5')
|
||||||
self._server = messaging.rpc_server.get_rpc_server(transport,
|
self._server = messaging.get_rpc_server(transport,
|
||||||
self.target,
|
self.target,
|
||||||
[self])
|
[self])
|
||||||
super(Server, self).__init__()
|
super(Server, self).__init__()
|
||||||
|
@ -23,7 +23,7 @@ class Server(object):
|
|||||||
self.target = messaging.Target(topic='testtopic',
|
self.target = messaging.Target(topic='testtopic',
|
||||||
server=transport.conf.host,
|
server=transport.conf.host,
|
||||||
version='2.5')
|
version='2.5')
|
||||||
self._server = messaging.rpc_server.get_rpc_server(transport,
|
self._server = messaging.get_rpc_server(transport,
|
||||||
self.target,
|
self.target,
|
||||||
[self],
|
[self],
|
||||||
executor='eventlet')
|
executor='eventlet')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user