]> sourceware.org Git - systemtap.git/commit
stap-exporter: remove wait_for_sess_init, use more descriptive http return codes.
authorAaron Merey <amerey@redhat.com>
Tue, 3 Jul 2018 17:57:38 +0000 (13:57 -0400)
committerAaron Merey <amerey@redhat.com>
Tue, 3 Jul 2018 19:33:05 +0000 (15:33 -0400)
commitc9c9a4c8dfd2e02db1647dd34df56e55cef0ad0d
tree0a77afc6e19ae77e6f81e89e17289980dbb205df
parentc1e4d622583dfee0e510cd3854103a535b615ff7
stap-exporter: remove wait_for_sess_init, use more descriptive http return codes.

* exporter.py: no longer wait for a stap session to begin after receiving a
  request to launch it. Respond with code 301 after launching sessions instead of 200.
  Respond with code 501 if session's procfs file cannot found.
stap-exporter/exporter.py
This page took 0.023021 seconds and 5 git commands to generate.