Merge "Graph service stop should return exit code 0" into stable/rocky

This commit is contained in:
Zuul 2018-11-06 09:44:06 +00:00 committed by Gerrit Code Review
commit d43b9c11e4
1 changed files with 1 additions and 3 deletions

View File

@ -14,7 +14,6 @@
import abc
import cotyledon
import multiprocessing
from six.moves import _thread
from oslo_concurrency import processutils as ps
from oslo_log import log
@ -205,8 +204,7 @@ class GraphWorkersManager(cotyledon.ServiceManager):
@staticmethod
def _stop():
# send SEGINT (instant exit) instead of SIGTERM
_thread.interrupt_main()
raise SystemExit(0)
class GraphCloneWorkerBase(cotyledon.Service):