diff options
author | Jakub Libosvar <libosvar@redhat.com> | 2014-10-29 10:02:10 +0100 |
---|---|---|
committer | Jakub Libosvar <libosvar@redhat.com> | 2014-10-29 10:02:10 +0100 |
commit | 42f4c8d0e693a7ef8b058111f5e1bf1ecc618620 (patch) | |
tree | 36d54390b70777994a20b1786bb0bb4990094f84 /neutron/service.py | |
parent | 5499bd5a38a1b03bd7ff56cd6bdde0a1c2922bc9 (diff) | |
download | neutron-42f4c8d0e693a7ef8b058111f5e1bf1ecc618620.tar.gz |
Use stop() method on MessageHandlingServer
MessageHandlingServer has no kill() method. In case neutron server using
rpc workers and is stopped, wrong method is called.
Change-Id: Id4a11f3dca070e684fb9e079139ac09792bc7aad
Closes-Bug: 1387053
Diffstat (limited to 'neutron/service.py')
-rw-r--r-- | neutron/service.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/neutron/service.py b/neutron/service.py index eb48687cb3..1761bacc45 100644 --- a/neutron/service.py +++ b/neutron/service.py @@ -129,7 +129,7 @@ class RpcWorker(object): def stop(self): for server in self._servers: if isinstance(server, rpc_server.MessageHandlingServer): - server.kill() + server.stop() self._servers = [] |