From 9779a91a2eb0ae7745552d30af1accbfe7a70ca0 Mon Sep 17 00:00:00 2001 From: Tomi Juvonen Date: Wed, 28 Feb 2018 12:05:26 +0200 Subject: Removing temporary process group solution. Introducing root cause fix for sample inspector shutdown JIRA: DOCTOR-123 Change-Id: Ibc95d482f476b60584c224d8e2757d071149d611 Signed-off-by: Tomi Juvonen --- doctor_tests/inspector/sample.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doctor_tests/inspector/sample.py') diff --git a/doctor_tests/inspector/sample.py b/doctor_tests/inspector/sample.py index fadfd3d4..abc4fc6d 100644 --- a/doctor_tests/inspector/sample.py +++ b/doctor_tests/inspector/sample.py @@ -168,7 +168,7 @@ class InspectorApp(Thread): self.inspector.handle_events(events) return "OK" - @app.route('/shutdown', methods=['POST']) + @app.route('/events/shutdown', methods=['POST']) def shutdown(): self.log.info('shutdown inspector app server at %s' % time.time()) func = request.environ.get('werkzeug.server.shutdown') -- cgit 1.2.3-korg